🌍 Public
Viewing a saved revision (read-only)
40b3ac06899443b6a468e60300573a32
Bar Graph with Dropdown Menu of Artists
A dropdown menu of artists filters a bar graph showing the number of MoMA artworks per year for the selected artist. Hovering highlights bars in orange with a tooltip. The visualization loads data from a CSV using D3 v7's `csvParse`, builds the menu with D3 selections, and computes annual counts via `d3.rollup`. Additional buttons open a thumbnail gallery or histogram, though the code for the latter is incomplete.
AI-generated descriptionWhen an artist is selected, a bar graph is displayed. Each bar graph represents the number of artworks by year for the selected artist.
Tooltip is displayed and bar is highlighted in orange when mouseover.