Skip to main content
100%

Pathetic Bar Chart V0

✓ Published1🌍 Public
Mmarouan-ben
Last edited Sep 29, 2023
Created on Sep 24, 2023

The example shows the 20 most populous countries in 2020 as horizontal bars, sorted by population with country labels on the y-axis. It loads CSV data from a GitHub-hosted UN Population dataset using D3’s `csv` utility, then renders SVG rectangles via React. The bar widths are scaled with `d3.scaleLinear` and the y-axis positions with `d3.scaleBand`, with margins applied via an SVG transform.

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!

MIT Licensed

Similar vizzes