Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
PPaawan Bhatt
Last edited Jul 19, 2021
Created on Jul 19, 2021
Forked from Stylized Bar Chart

This example displays the top 10 most populous countries as a horizontal bar chart using React and SVG. It loads population data from a CSV file via `d3.csv`, scales the bars with `d3.scaleLinear` and the country names with `d3.scaleBand`, and formats axis ticks using `d3.format`. The chart includes styled axes, a population label, and tooltips rendered through SVG `<title>` elements.

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