Area chart

Source code Author

using Deneb
data = Data(url="https://vega.github.io/vega-datasets/data/unemployment-across-industries.json")
chart = data * Mark(:area) * Encoding(
    x=field("yearmonth(date)", axis=(;format="%Y")),
    y=field("sum(count)", title=:count),
)

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