Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published0🌍 Public
Rreactivicky
Last edited Apr 2, 2021
Created on Apr 2, 2021

This visualization displays a horizontal bar chart of 2020 population estimates for countries, rendered as SVG using React and D3 v5. It loads CSV data from a GitHub gist via D3’s `csv` utility, then maps the parsed data to `rect` elements. React handles the UI state and component structure, while D3’s `scaleBand` and `scaleLinear` position the bars, and `max` computes the domain. The visualization updates once the asynchronous data fetch completes, initially showing a loading message.

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