Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot

Public visualization

Scatter plot

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

Comments

Sign in to join the discussion.

MIT Licensed