Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
SSartell
Last edited Nov 29, 2020
Created on Nov 29, 2020
Forked from Stylized Bar Chart

This example shows the top 10 most populous countries as a horizontal bar chart, with population values labeled along the x-axis and country names on the y-axis. Using React for component structure and D3 v5 for scales and data loading, it renders SVG rectangles via the `scaleBand` and `scaleLinear` APIs. Data comes from the United Nations World Population Prospects 2019, loaded through D3’s `csv` function. Native SVG `<title>` elements provide tooltips on hover.

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