Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a bar chart999

Public visualization

Viewing a saved revision (read-only)

fce72b9b772540b984944dcac889c40e

Fork of Making a bar chart999

1 star0🌍 Public
Mmeiok1
Last edited Feb 14, 2021
Created on Feb 14, 2021
Forked from Making a bar chart

A bar chart displays the top 12 countries by 2020 population, using horizontal rectangles sized by population values. React manages the component state and rendering, while D3 utilities load the CSV data and construct the scales: `scaleBand` positions countries along the y-axis and `scaleLinear` maps population to rectangle widths. The chart renders as an SVG inside a React root element, with data fetched asynchronously and displayed after loading. Population values are parsed from the source CSV, and the top 12 rows are selected for visualization.

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!