Skip to main content
100%

Axes with react and D3

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

MIT Licensed

Similar vizzes