Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pathetic Bar Chart

Public visualization

Viewing a saved revision (read-only)

d88eb1ff33194e07b9aaf68f7404687f

Fork of Pathetic Bar Chart

0 stars0🌍 Public
Rrhona-o'neill
Last edited May 4, 2022
Created on May 4, 2022
Forked from Pathetic Bar Chart

This example visualizes the top 10 most populous countries using a "pathetic" bar chart that deliberately omits axes, scales, or labels. The bars are rendered as SVG rectangles positioned using `scaleBand` for the y-axis and `scaleLinear` for the x-axis. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. The React component uses `useState` and `useEffect` to fetch and process the data, then maps each country to a rectangle filled with the default black color.

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.