Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

dv.21 - basic bar chart

Public visualization

Viewing a saved revision (read-only)

01a4c1a26c3941ef815145952a72c66c

dv.21 - basic bar chart

0 stars1🌍 Public
Zzach b.
Last edited Mar 18, 2021
Created on Nov 2, 2020

This example displays the top 20 most populous countries as horizontal bars, ranked by their 2020 population estimates from the United Nations World Population Prospects 2019 dataset. It renders an SVG bar chart using React for component structure and d3.scaleBand for the categorical y-axis, d3.scaleLinear for the numeric x-axis, and d3.csv for data loading. The chart intentionally has no axes or labels, using only rectangles whose widths encode population values.

AI-generated description

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

Data: United Nations World Population Prospects 2019.

--
Datavis 2020 #21