Skip to main content
100%

Gonna make a Scatter Plot

✓ Published0🌍 Public
Jjohncoder21
Last edited Aug 1, 2021
Created on Jul 29, 2021
Forked from Hello HTML

This example shows a horizontal bar chart of country populations, with each bar’s length scaled to the population value and its vertical position set by a categorical scale for country names. The visualization uses D3 v7 APIs including `scaleLinear`, `scaleBand`, and `csv` to load and parse the data, then appends SVG `<rect>` elements. The population values are multiplied by 1,000 after loading, and bars are rendered in black against a full-viewport SVG canvas.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes