Skip to main content
100%

Fork of Reusable Scatter Plot

✓ Published0🌍 Public
Sshabanasyed2266@gmail.com
Last edited Oct 28, 2025
Created on Oct 28, 2025

This scatter plot visualizes population against area for countries, with each point colored by continent. The reusable chart module follows Mike Bostock’s `chart()` pattern, using `d3.scaleLinear` for both axes, `d3.scaleOrdinal` with `d3.schemeCategory10` for color encoding, and `d3.axisBottom`/`d3.axisLeft` with gridlines. Data loads via `d3.tsv` from a GitHub gist, and interactive tooltips appear on `mouseover` using D3 v7 selections.

AI-generated description
MIT Licensed

Similar vizzes