Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published1🌍 Public
Ppnlinyz
Last edited May 8, 2021
Created on May 7, 2021

This bar chart displays the top 10 countries by population in 2020, using React for rendering SVG elements and D3 utilities for data loading and scales. The code fetches CSV data via `d3.csv`, transforms population values, and applies `scaleBand` for categorical positioning and `scaleLinear` for numeric values. Axes are custom React components that generate tick marks and labels. Hovering over a rect reveals a tooltip with the exact population value through the SVG `<title>` element.

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