Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
Ddacoylo
Last edited Jun 30, 2020
Created on Jun 30, 2020
Forked from Customizing Axes

This scatter plot displays the population of the top 10 countries, with each circle’s horizontal position representing population size and vertical position mapping to the country name. The visualization uses d3.csv to load the data and d3.scaleLinear and d3.scalePoint to construct the axes, while d3.axisLeft and d3.axisBottom render the grid and ticks. Circles are appended to an SVG, with a formatted tick label replacing “G” with “B” for billions. The chart includes a title and axis label, styled via external CSS.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes