Skip to main content
100%

Styling a Bar Chart

✓ Published1🌍 Public
DDanier
Last edited Sep 18, 2021
Created on Sep 18, 2021

This bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. The chart features horizontal bars ordered by country, with a clean, styled aesthetic using the Poppins font and a teal color scheme. Axes are customized with D3's `scaleLinear` and `scaleBand` for positioned ticks, and tooltips using SVG `<title>` elements. Built with React and D3 v5, the visualization highlights the power of reusable components for crafting polished, readable charts.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes