Skip to main content
100%

Making a Scatter Chart

✓ Published1🌍 Public
Ssamwatersw15
Last edited Sep 26, 2020
Created on Sep 26, 2020
Forked from Making a Bar Chart

A scatter chart displays the population of the top 10 countries, with each country plotted as a steel-blue circle along a point scale for country names and a linear scale for population values. The code uses d3.csv to load the data, d3.scaleLinear, d3.scalePoint, d3.axisLeft, and d3.axisBottom to construct the axes, and d3.format to abbreviate population numbers. The SVG rendering includes gridlines via tick sizes and styled text for the title and axis labels.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes