Skip to main content
100%

Pathetic Bar Chart

✓ Published1🌍 Public
BBen Seebeck
Last edited Nov 4, 2021
Created on Nov 4, 2021

A horizontal bar chart displays the ten most populous countries in 2020, with each bar's length proportional to its population. The chart is built with React and D3, loading CSV data via `d3.csv` and rendering SVG rectangles positioned by `d3.scaleBand` and scaled by `d3.scaleLinear`. The D3 maximum utility `d3.max` sets the x-axis domain, and bars are colored with the default fill.

AI-generated description

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

MIT Licensed

Similar vizzes