Cumulative frequency distribution

Source code Author

using Deneb

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

chart = Data(data) * Mark(:area) * transform_window(
    Cumulative_Count="count(count)",
    sortby="IMDB Rating",
    frame=(nothing, 0),
) * Encoding(
    "IMDB Rating:Q",
    "Cumulative_Count:Q"
)

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