Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart

Public visualization

Viewing a saved revision (read-only)

6f0ac87100bc490783351680b2995f82

Line Chart

1 star0🌍 Public
EEri Kim
Last edited Feb 26, 2023
Created on Feb 26, 2023

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 description

A 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