Skip to main content
100%

Axes with react and d3

✓ Published1🌍 Public
FFonda Irena Santoso
Last edited Apr 21, 2021
Created on Apr 21, 2021

A bar chart displays the 10 most populous countries for 2020, sourced from a UN Population dataset loaded via D3’s `csv`. React renders SVG elements, while D3’s `scaleBand` and `scaleLinear` compute axes and bar positions. Custom tick marks and labels are generated from `xScale.ticks()`, with the chart wrapped in a margin-based `<g>` group.

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