Skip to main content
100%

MoMA Streamgraph

✓ Published1🌍 Public
EEri Kim
Last edited Apr 11, 2023
Created on Feb 24, 2023

This visualization displays the most used mediums in MoMA’s collection over time as a streamgraph, with each colored layer representing a medium like Lithograph or Ink. The chart uses d3.stack with a wiggle offset to create the flowing shapes, applies smoothing via array-blur, and labels areas using the d3-area-label library. Hovering an area highlights it with a white border, and a legend helps identify smaller layers. Data comes from a CSV file of MoMA artworks, parsed and scaled by year.

AI-generated description

Streamgraph with labels

x data is also parsed and scaled as date/year.

I filled in the missing values that were creating white gaps. I also applied smoothing.

Using d3-area-label, I added labels in the streampgrah. For labels that are too small, color legend is available.

I also added a hover effect so when you hover an area, it is outlined with a white border.

References:

https://d3-graph-gallery.com/graph/streamgraph_template.html

https://vizhub.com/curran/01568b13c29f437f9a2684bb190c3737

ISC Licensed

Similar vizzes