Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable Scatter Plot

Public visualization

Fork of Reusable Scatter Plot

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed