Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
SSimon Davis
Last edited May 12, 2021
Created on May 12, 2021
Forked from Pathetic Bar Chart

This example displays the top 10 most populous countries as horizontal bars, using bar length to encode population without any axes or labels. The visualization is built with React and D3 v5, reading United Nations population data from a CSV file. It uses d3.csv for data loading, d3.scaleBand for the categorical y-axis positions, and d3.scaleLinear for the quantitative x-axis scaling. The bars are rendered as SVG rectangles within a red-background SVG canvas, positioned using D3’s transform utility.

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.

MIT Licensed

Similar vizzes