Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
SSam
Last edited Apr 26, 2020
Created on Apr 26, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the population of the top 10 most populous countries using horizontal bars, with country names on the y-axis and population values on the x-axis. The chart is implemented in React with D3 v5, using `scaleBand` and `scaleLinear` for positioning, while SVG rectangles render the bars via the `Marks` component. Population data comes from the United Nations World Population Prospects 2019, loaded as CSV with `d3.csv`. The chart features a custom Poppins font and teal-colored bars, with hover tooltips showing population values.

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