Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published1🌍 Public
Vvivekananth-code
Last edited Jan 25, 2021
Created on Jan 25, 2021
Forked from Stylized Bar Chart

A stylized horizontal bar chart displays the ten most populous countries, using data from the United Nations World Population Prospects 2019. The visualization employs React and D3 v5, with SVG rendering. `d3.scaleBand` positions the bars vertically, while `d3.scaleLinear` and `d3.max` scale the population values. A custom `tooltipFormat` shows the population on hover. The chart uses a Poppins font, a teal fill for the marks, and includes a customized axis with `d3.format` to abbreviate large numbers.

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