Radial plot

Source code Author

using Deneb

data = (;
    values=[12, 23, 47, 6, 52, 19]
)
chart = Data(data) * Mark(
    :arc, innerRadius=25, stroke= "#fff"
) * Encoding(
    theta=field("data:q", stack=true),
    radius=field("data:q", scale=(type=:sqrt, zero=true, rangeMin=20)),
    color=field("data:n", legend=nothing),
)

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