Line Chart
✓ Published0🌍 Public
This line chart shows the number of artworks per year in the MoMA collection, with time on the x-axis and artwork count on the y-axis. The chart uses the MoMA dataset, parsing dates with `d3.timeParse` and scaling them with `d3.scaleTime`. Data is aggregated using `flatGroup` and sorted by year before being rendered with a `line` generator. The visualization is built with D3 v7 within a Vue framework.
AI-generated descriptionA line chart visualizing the number of artworks per year using MoMA dataset.
Parsed the x data using timeParse: https://github.com/d3/d3-time-format#timeParse and scaled it using scaleTime().
Reference: https://vizhub.com/curran/d3157d7eff1b4b99b2c591ecc7076ce8
MIT Licensed