Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
RRemy-dev
Last edited Jan 14, 2022
Created on Jan 14, 2022
Forked from customizing axis

This scatter plot displays the population of the top 10 most populous countries, with each circle’s horizontal position corresponding to population magnitude and vertical position aligning with the country name. The visualization uses d3.csv to load the data, d3.scaleLinear for the x-axis, d3.scalePoint for the categorical y-axis, and d3.axisLeft and d3.axisBottom to render the axes. SVG circles are drawn via d3 selections, with margins defining the plotting area and formatted tick labels converting values from thousands to billions.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

This bar chart shows population of the top 20 most populous countries

MIT Licensed

Similar vizzes