Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

8afcdeddc8eb4cf18b4c832fa7be2726

Bar Chart

0 stars1🌍 Public
33ssalunke
Last edited Feb 24, 2021
Created on Feb 23, 2021
Forked from Pathetic Bar Chart

This bar chart displays the top 10 most populous countries using United Nations World Population Prospects 2019 data, loaded via d3.csv. It uses React with d3.scaleBand for the y-axis and d3.scaleLinear for the x-axis, rendered as SVG rect elements. Axes are drawn with custom React components (AxisBottom and AxisLeft), with tick labels formatted using d3.format to convert values to billions.

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.