Line chart with log scale

Source code Author

using Deneb

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

chart = data * Mark(:line) * Encoding(
    "year:O",
    y=field("sum(people)", scale=(;type=:log)),
)

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