Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Bar Chart

Public visualization

Viewing a saved revision (read-only)

be362dce452242dba48c00114000161e

Stylized Bar Chart

0 stars1🌍 Public
Nneetusingla12(Neetu Singla)
Last edited Oct 12, 2020
Created on Oct 12, 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 React-based visualization renders horizontal bars with SVG rectangles, using d3.scaleBand for the categorical country axis and d3.scaleLinear for the population values. D3's format function converts large numbers to abbreviated labels, while custom axis components draw tick marks and text. A tooltip, implemented with SVG `<title>` elements, shows the precise population on hover. The chart uses a clean Poppins font and a teal color scheme against muted gray axes.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.