Skip to main content
100%

Scatterplot

✓ Published1🌍 Public
Ssheafallick
Last edited Dec 14, 2022
Created on Dec 14, 2022
Forked from Customizing Axes

This scatterplot displays the populations of six cities, with circles positioned along a point scale for city names and a linear scale for population values. The visualization uses D3 v7’s `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft` to render an SVG chart with gridlines and labeled axes. Population data is loaded from a CSV file via `d3.csv`, and tick labels are formatted using `d3.format` to abbreviate large numbers. The circles are styled with a steelblue fill, and the chart includes a descriptive title.

AI-generated description

This bar chart shows the populations of the best global cities! - Shea Gazette

MIT Licensed

Similar vizzes