Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
RRafa Lyovson
Last edited Jul 15, 2020
Created on Jul 15, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the top 10 most populous countries for 2020, using data from the United Nations World Population Prospects 2019. The chart renders horizontal bars with a clean, modern aesthetic, featuring a teal fill and a Poppins font. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis, with bars rendered as SVG `<rect>` elements. Tick labels are formatted using D3's `format` function to abbreviate large numbers, and the visualization is generated from a CSV file loaded with D3's `csv` function.

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