Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Axes with react and D3

Public visualization

Viewing a saved revision (read-only)

24b06a19b22747ee930c8cbab5597144

Axes with react and D3

0 stars1🌍 Public
CChris Knight
Last edited Jun 23, 2022
Created on Jun 23, 2022

A horizontal bar chart displays the top 10 most populous countries for 2020, loaded from a CSV file via D3's `csv` utility. React renders the SVG, with D3's `scaleBand` and `scaleLinear` mapping country names and population values to positions and bar lengths. Axes include tick marks and labels generated from `xScale.ticks()` and the band domain, while rectangles encode the data values.

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.