Line chart with monotone interpolation

Source code Author

using Deneb

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

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

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