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)

572b13fb75f7492db44cbc53071c469b

Fork of Rendering Data with React & D3

0 stars0🌍 Public
Jjasonamey
Last edited Sep 14, 2023
Created on Sep 14, 2023

This example loads UN population data from a CSV file using D3’s `csv` utility and displays it as a series of blue rectangles in an SVG, with each rectangle’s height proportional to the data row index. The visualization is built with React, which conditionally renders a loading message before mapping the data to `<rect>` elements. The code includes commented-out logic for computing a radial burst using D3’s `pie` and `arc` functions, though the active rendering uses a simple bar-like layout.

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!