Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering Data with React & D3

Public visualization

Viewing a saved revision (read-only)

f1859caf9fa94661be4ea807020e763e

Fork of Rendering Data with React & D3

0 stars0🌍 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!