Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
Ssumukh-bharadwaj
Last edited Dec 21, 2021
Created on Dec 21, 2021
Forked from Stylized Bar Chart

This example shows the top 10 most populous countries as a horizontal bar chart, using data from the United Nations World Population Prospects 2019. The chart uses React with D3 v5’s `scaleBand` and `scaleLinear` to position bars, and custom SVG components for axes and marks. Population values are formatted with `d3.format` to display in billions. The chart is rendered using SVG within a React component, with data loaded asynchronously via `d3.csv` and styled with the Poppins font.

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