Skip to main content
100%

Axes with React and D3

✓ Published1🌍 Public
MMadNietzsche
Last edited Jul 29, 2021
Created on Jul 29, 2021

This example displays a horizontal bar chart of the top 10 countries by population, using D3 scales for both the x-axis and y-axis. It is built as a React component that loads the UN Population 2019 dataset via `d3.csv`, then renders SVG elements with React's declarative JSX syntax. The chart includes D3-generated axis ticks and labels, with bars sized using `d3.scaleLinear` and `d3.scaleBand`.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state as a Radar Burst

MIT Licensed

Similar vizzes