ICE-7 Tagore Scatter Plot (1)
✓ Published0🌍 Public
This example presents a reusable scatter plot built with D3.js, visualizing state population changes between 2020 and 2021 from a CSV dataset. It shows the relationship between the two years' population figures, with each circle representing a state. The code defines a configurable `scatterPlot` function using D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs, then loads data via `csv` and renders SVG circles with axes. The plot is styled with the Share Tech font and adapts to the full window size, with axis labels added directly in `index.js`.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed