Skip to main content
100%

Pathetic_Bar _Chart

✓ Published0🌍 Public
Mmartin
Last edited Aug 16, 2021
Created on Aug 16, 2021
Forked from Pathetic Bar Chart

This example displays the ten most populous countries as horizontal bars with no axes, labels, or scales visible. The bars are rendered as SVG rectangles using React components, with dimensions computed from United Nations World Population Prospects 2019 data loaded via `d3.csv`. The chart uses `d3.scaleBand` for the categorical y-axis placement of countries and `d3.scaleLinear` for the numeric x-axis range, mapping population values to pixel widths. The visualization intentionally omits standard chart furniture, presenting a deliberately minimal and "pathetic" representation.

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