Streamgraph

A streamgraph showing RIAA music industry revenue by format over time. Based on an example from Observable Plot.

<Plot
    marginLeft={0}
    x={{ grid: true }}
    y={{ axis: false }}
    color={{ legend: true }}>
    <AreaY
        data={riaa}
        x="year"
        y="revenue"
        z="format"
        curve="basis"
        fill="group"
        opacity={0.8}
        stack={{ offset: 'wiggle', order: 'inside-out' }} />
</Plot>
Improve this page
Last update at: 2025/11/24