Hi there!
I was wondering how to put labels on a pie chart in Makie. Like in the example shown on the page.
using CairoMakie
data = [36, 12, 68, 5, 42, 27]
colors = [:yellow, :orange, :red, :blue, :purple, :green]
f, ax, plt = pie(data,
color = colors,
radius = 4,
inner_radius = 2,
strokecolor = :white,
strokewidth = 5,
axis = (autolimitaspect = 1, )
)
f
How could I for example use to colors as a label, all the things I tried did not work out…
Thanks!