🌍 Public
Viewing a saved revision (read-only)
7da0268dc1ec4327a4dfd52b6d4ba73c
Let's make a face with D3.js!
This example displays a horizontal bar chart of country populations using D3.js v5, with each bar’s length scaled linearly against population values and countries ordered along a band scale. The SVG rendering relies on `d3.scaleLinear`, `d3.scaleBand`, `d3.axisLeft`, and `d3.axisBottom` to compose axes, while data loads from a CSV file via `d3.csv` and populates `rect` elements dynamically.
AI-generated description