🌍 Public
Almost Final-1
This visualization plots GDP variation over time for the USA and Germany, with each country represented by a colored circle. Users can click legend items to highlight a specific country while dimming others. The chart uses D3 v5 with `scaleLinear`, `axisBottom`, and `axisLeft` to render the scatterplot and a custom `colorLegend` that supports interactive selection. Data is loaded asynchronously via `d3.csv` from an external file, and the visualization renders to SVG.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.