Stacked area chart

Source code Author

using Deneb
data = Data(url="https://vega.github.io/vega-datasets/data/iowa-electricity.csv")
chart = data * Mark(:area) * Encoding(
    "year:t",
    "net_generation:q",
    color="source:n"
)

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