Skip to main content
100%

Population Scatter Plot

✓ Published0🌍 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
MIT Licensed

Similar vizzes