Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Refactored Bar Chart - vis

Public visualization

Viewing a saved revision (read-only)

cbf3b281c924469c82856269c3ee2124

Fork of Refactored Bar Chart - vis

0 stars0🌍 Public
VVishwanath Hegde
Last edited Sep 20, 2021
Created on Sep 20, 2021

This visualization displays the top 10 most populous countries as a bar chart with axes. The bars represent each country’s 2020 population, using data from the United Nations World Population Prospects 2019. Built with React and rendered as SVG, it uses d3.scaleBand for the categorical y-axis and d3.scaleLinear for the quantitative x-axis, with d3.csv loading the dataset. Axis components and marks are separate React components, and the chart updates when new data loads.

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.