Skip to main content
100%

Population Bar Chart

✓ Published1🌍 Public
AAmeer Nuri
Last edited Jan 3, 2022
Created on Oct 18, 2021
Forked from D3 color spiral

A horizontal bar chart ranks the world’s 15 most populous countries by estimated 2020 population, with a native SVG title element showing exact values on hover. The React component builds linear and band scales from d3-scale, renders axes and rectangles as SVG, and formats tick labels from billions to “B” using d3-format. Data is loaded asynchronously from a CSV via d3.csv and styled with Poppins typography.

AI-generated description

D3 Population Chart

MIT Licensed

Similar vizzes