Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pathetic Bar Chart

Public visualization

Pathetic Bar Chart

0 stars1🌍 Public
MMichael Bergerson
Last edited Dec 27, 2020
Created on Dec 27, 2020

A bar chart displays the ten most populous countries from a UN population dataset, with horizontal bars encoding each country's 2020 population via length. The visualization uses React hooks (`useState`, `useEffect`) to load and slice the CSV data, while D3's `scaleBand` and `scaleLinear` compute bar positions and widths. Rendered as SVG rectangles, the chart currently lacks axis labels or tooltips. Loading feedback appears as oversized "Loading..." text styled via a `pre` element with a large font size.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst.

Comments

Sign in to join the discussion.

MIT Licensed