Skip to main content
100%

Let's make a face with D3.js!

✓ Published1🌍 Public
DDifan Gu
Last edited Jul 8, 2020
Created on Jul 8, 2020

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
MIT Licensed

Similar vizzes