using VegaLite, DataFrames
df = DataFrame(
category=["Sky", "Shady side of a pyramid", "Sunny side of a pyramid"],
value=[75, 10, 15],
order=[3,1,2]
)
df |> @vlplot(
mark={:arc, outerRadius=80},
theta={:value, scale={range=[2.35619449, 8.639379797]}, stack=true},
color={
:category,
scale={
domain=["Sky", "Shady side of a pyramid", "Sunny side of a pyramid"],
range=["#416D9D", "#674028", "#DEAC58"]
},
legend={orient=:none, title=nothing, columns=1, legendX=200, legendY=80}
},
order=:order,
view={stroke=nothing}
)
Settings
This document was generated with Documenter.jl on Sunday 23 April 2023. Using Julia version 1.8.5.