Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
CClara Hu
Last edited Mar 22, 2021
Created on Mar 22, 2021
Forked from Stylized Bar Chart

This bar chart visualizes the top 10 most populous countries using data from the United Nations World Population Prospects 2019. It uses React with D3 v5 to construct the SVG, with `scaleBand` for the categorical y-axis and `scaleLinear` for the numerical x-axis. The chart renders horizontal bars with a teal fill, Poppins font, and custom axes from `AxisBottom` and `AxisLeft`, with CSV data fetched via D3's `csv` helper. A tooltip displays the formatted population value using D3's `format` 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