Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Population Scatter Plot

Public visualization

Viewing a saved revision (read-only)

01bc9ec7cce241fa94d5e80203801a95

Population Scatter Plot

0 stars0🌍 Public
HHarshinireddyy19
Last edited Jul 3, 2022
Created on Jul 3, 2022
Forked from Scatter Plot

This scatter plot displays the population of each U.S. state along the horizontal axis, with state names on the vertical axis. Built with D3 v5, it uses `scaleLinear` for the population scale and `scalePoint` for the categorical state axis, rendering circles via SVG. Data is loaded from a CSV file using D3’s `csv` method, with axes created by `axisBottom` and `axisLeft`. Tick labels are formatted using `format` to abbreviate large numbers with "B" for billions, and the chart includes a title and axis label.

AI-generated description