Skip to main content
100%

Axes with React & D3

✓ Published1🌍 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.

MIT Licensed

Similar vizzes