Stacked bar chart
using Deneb
data = Data(url="https://vega.github.io/vega-datasets/data/barley.json")
chart = data * Mark(:bar) * Encoding(
x=:variety,
y="sum(yield)",
color=:site,
)
This page was generated using DemoCards.jl and Literate.jl.