Line chart with varying stroke

Source code Author

using Deneb

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

chart = data * Mark(:line) * Encoding(
    "date:T",
    "price:Q",
    strokeDash=:symbol,
    color=:symbol,
)

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