Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
YYasara Peiris
Last edited Jul 19, 2020
Created on Jul 19, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. The chart renders as an SVG via React, with D3’s `scaleBand` and `scaleLinear` mapping countries to horizontal bars and population values to widths. The code uses `d3.csv` to load the dataset, `d3.format` for tick labels, and custom React components for axes and marks, styled with the Poppins font and a teal color scheme.

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