Skip to main content
100%

SCATTER PLOT BOIS!

✓ Published0🌍 Public
Hhuankoh
Last edited Sep 26, 2020
Created on Sep 25, 2020

This scatter plot displays the populations of the ten most populous countries, with each circle positioned by population on the x-axis and country on the y-axis. The visualization uses D3 v5’s `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom` to generate the chart, loading data from a CSV file via `d3.csv`. Renderered as SVG, it includes a titled header and axis labels, with tick marks formatted using D3’s `format` function.

AI-generated description

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

MIT Licensed

Similar vizzes