Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pathetic Bar Chart

Public visualization

Fork of Pathetic Bar Chart

0 stars0🌍 Public
SSan
Last edited Apr 15, 2023
Created on Apr 15, 2023
Forked from Pathetic Bar Chart

This chart visualizes the top 10 most populous countries using a "pathetic" bar chart—bars extend horizontally from a left baseline without axes or ticks, though gridlines and x-axis labels are drawn. Built in React with D3 v5, it loads UN World Population Prospects 2019 data via `d3.csv`, scales the x-axis with `d3.scaleLinear` and y-axis with `d3.scaleBand`, and renders each bar as an SVG `<rect>`.

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.

Comments

Sign in to join the discussion.

MIT Licensed