Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
Ccorinna-fab
Last edited Jan 22, 2022
Created on Jan 21, 2022
Forked from Pathetic Bar Chart

This example presents the top 30 most-checked-out items from a Seattle Public Library dataset as a set of horizontal bars, with each rectangle’s width mapping to a numeric checkout month and its vertical position mapping to the checkout count. The chart deliberately omits axes, labels, and scales, emphasizing raw data shapes over readability. Built with React and D3 v5, the code loads CSV data via `d3.csv`, computes scales using `scaleBand` and `scaleLinear`, and renders SVG `<rect>` elements inside a React component, with loading state handled through React hooks.

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