Donut chart

Source code Author

using Deneb

data = (
    category=1:6,
    value=rand(1:10, 6)
)
chart = Data(data) * Mark(:arc, innerRadius=75) * Encoding(
    theta="value:q",
    color="category:n"
)

This page was generated using DemoCards.jl and Literate.jl.