Skip to main content
100%

Scatter plot

✓ Published0🌍 Public
JJaKokosz
Last edited Mar 25, 2020
Created on Mar 25, 2020
Forked from Customizing axes

This scatter plot visualizes the population of the top 10 most populous countries, with each circle’s horizontal position mapped to population and vertical position mapped to country name. The code uses d3.csv to load the data, d3.scaleLinear for the x-axis, and d3.scalePoint for the y-axis. Axes are rendered with d3.axisBottom and d3.axisLeft, while d3.format abbreviates population values on the x-axis. The visualization renders as an SVG with margins, grid lines from tick marks, and a title.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes