Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Stylized Bar Chart

Public visualization

Fork of Stylized Bar Chart

0 stars0🌍 Public
VVu Nguyen
Last edited Sep 8, 2022
Created on Sep 8, 2022
Forked from Stylized Bar Chart

This visualization displays the top 10 most populous countries from the United Nations World Population Prospects 2019 dataset as a horizontal bar chart. The bars are rounded with simple hover tooltips showing formatted population values. Built with React and D3 v5, the chart uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numeric x-axis, with axes rendered as SVG groups containing tick lines and labels. A custom formatting function converts raw numbers to compact notation with "B" for billions.

AI-generated description

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

Data: United Nations World Population Prospects 2019.

Comments

Sign in to join the discussion.

MIT Licensed