Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot.js

Public visualization

Scatter Plot.js

0 stars1🌍 Public
Dddperdue
Last edited Mar 23, 2020
Created on Mar 23, 2020
Forked from Bar Chart.js

This scatter plot displays the population of five countries—China, India, the United States, Indonesia, and Brazil—on a linear scale, with country names on the y-axis and population counts on the x-axis. Circles mark each data point, accompanied by axis labels and a title. Using D3 v5 with SVG rendering, the code loads data via `d3.csv`, scales values with `scaleLinear` and `scalePoint`, and generates axes via `axisBottom` and `axisLeft`. Population figures are multiplied by 1000 to represent raw counts.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed