Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Bar Chart

Public visualization

Viewing a saved revision (read-only)

154601a1972e43849619ced18bbf6e24

Fork of Bar Chart

0 stars0🌍 Public
Zzenoalive
Last edited Jul 7, 2023
Created on Jul 5, 2023

This visualization displays the top 10 most populous countries as horizontal bars, using the UN Population 2019 dataset loaded via `d3.csv`. React state and hooks manage the fetched data, while `d3.scaleBand` maps countries to vertical positions and `d3.scaleLinear` maps population values to bar widths. The bars render as SVG `rect` elements within a React component, with a loading state shown before data arrives.

AI-generated description

A program that loads in some data about population of various countries using D3 utilities, and uses React to render the data as a radial burst!