Skip to main content
100%

ScatterPlot

✓ Published0🌍 Public
CCalvin.
Last edited May 6, 2022
Created on Mar 16, 2022
Forked from Bar Charts and D3

This scatter plot displays the populations of the top ten countries, using horizontal bars where each bar’s length corresponds to population size, with country names on the vertical axis. The visualization is rendered as an SVG using React and D3 v7, reading from a CSV file. The code applies a linear scale for population values, a band scale for countries, and custom axes with formatted tick labels that abbreviate large numbers.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes