Fork of Reusable Scatter Plot
✓ Published0🌍 Public
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 descriptionMIT Licensed