Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
Ddivyanshu7073
Last edited Jan 8, 2020
Created on Jan 8, 2020
Forked from Stylized Bar Chart

This example shows the top 10 most populous countries using horizontal bars, with population values displayed along a bottom axis and country names on the left. The chart uses React components to render SVG elements, with D3 v5 scales (`scaleBand`, `scaleLinear`) mapping data to positions. Population data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. The bars are styled with a teal fill, and hovering reveals exact population values through SVG `<title>` tooltips.

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