Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pathetic Bar Chart

Public visualization

Viewing a saved revision (read-only)

587396e7b5534f5bb67b552844f54e19

Pathetic Bar Chart

0 stars0🌍 Public
Bbmh578
Last edited Oct 1, 2021
Created on Sep 29, 2021
Forked from React Starter

This bar chart displays the top 10 most populous countries based on the UN Population 2019 dataset, using a linear x-scale for population and a band scale for country names. The React app fetches the CSV via `d3.csv`, slices the first 10 rows, and renders SVG rectangles directly in the browser. The chart loads with a "Loading..." placeholder while the data is fetched asynchronously.

AI-generated description

React Starter code.