Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
KKazushige Okuma
Last edited Sep 22, 2019
Created on Sep 21, 2019
Forked from Custermizing Axes

This scatter plot displays the populations of the ten most populous countries, with each country positioned along the y-axis and its population on the x-axis. The visualization uses d3.csv to load the data, then applies d3.scaleLinear for the population axis and d3.scalePoint for the categorical country axis. D3’s axisBottom and axisLeft generate the gridlines and tick labels, with custom tick formatting converting values to abbreviated units. The chart renders as SVG circles styled with steelblue fill, and includes a title and axis label.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes