Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
TTomasz Stefaniuk
Last edited Jan 2, 2023
Created on Jan 2, 2023
Forked from Stylized Bar Chart

This chart displays the top 10 most populous countries using horizontal bars, with a clean SVG layout and a Poppins font. The data is sourced from the United Nations World Population Prospects 2019 via a CSV file, loaded with `d3.csv`. The visualization uses `d3.scaleBand` for the y-axis categories, `d3.scaleLinear` for the population values, and a custom `format` function to display axis ticks in billions. React components structure the SVG marks, with each bar providing a tooltip 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