Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Axes with React & D3

Public visualization

Viewing a saved revision (read-only)

b8daddeb9a234272acbe892c7f6072f3

Axes with React & D3

0 stars1🌍 Public
BBen Seebeck
Last edited Nov 4, 2021
Created on Nov 4, 2021

A bar chart displays the ten most populous countries for 2020, using CSS named colors for the bars. The example combines React state management with D3 utilities, loading CSV data, and computing scales via `d3.scaleBand` and `d3.scaleLinear`. It renders axes and rectangles directly in SVG, with React handling the dynamic updates from the fetched data.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to render the data as a radial burst.