Skip to main content
100%

Test

✓ Published0🌍 Public
AAnkush
Last edited Feb 14, 2022
Created on Feb 14, 2022
Forked from Stylized Bar Chart

This example shows the top 10 most populous countries as horizontal bars, with country names on the y-axis and population counts on the x-axis. The chart uses React to render SVG elements, with D3’s `scaleBand` and `scaleLinear` handling the position and size of each bar. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. Hovering reveals a native tooltip, and axis ticks are formatted using D3’s `format` to abbreviate large numbers.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes