Step chart

Source code Author

using Deneb

data = Data(url="https://vega.github.io/vega-datasets/data/stocks.csv")

chart = data * Mark(:line, interpolate="step-after") * Encoding(
    "yearquarter(date):T",
    "sum(price):Q",
)

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