Skip to main content
100%

Scatter plot

✓ Published1🌍 Public
LLonwabo11
Last edited May 6, 2019
Created on May 6, 2019
Forked from Scatter plot

The scatter plot displays the populations of ten countries as horizontal bars, sourced from a CSV file. Built with D3 v5, it uses `scaleLinear` and `scaleBand` to map numeric population values and categorical country names to SVG rectangles. The chart renders via SVG elements, with axes created using `axisLeft` and `axisBottom`, demonstrating basic data binding and DOM manipulation.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes