Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
TTylerSaikaleyTheriault
Last edited May 30, 2022
Created on May 30, 2022
Forked from Pathetic Bar Chart

This example displays the ten most populous countries as a bar chart with no axes, using only styled text and variable-width bars to represent each nation’s population. The visualization is built with React hooks and D3 v5, fetching data from the United Nations World Population Prospects 2019 via d3.csv, then scaling bar widths with d3.scaleLinear and d3.max. React manages the UI state, while D3 handles data loading and layout calculations, rendering directly into the DOM.

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