Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
AAlumanda Shakankale
Last edited Jan 17, 2020
Created on Jan 17, 2020
Forked from Stylized Bar Chart

This example visualizes the top 10 most populous countries using a horizontal bar chart, with the x-axis representing population and the y-axis listing country names. The chart is rendered with React and SVG, using D3’s `scaleBand` and `scaleLinear` to map data, and custom components for axes and marks. It loads data from the United Nations World Population Prospects 2019 via D3’s `csv` function, and formats population values using D3’s `format` with SI prefixes.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes