Skip to main content
100%

Rendering data with data

✓ Published1🌍 Public
AAlexalim28
Last edited Jul 31, 2021
Created on Jul 29, 2021
Forked from Mouse Follower

This example visualizes data about CSS named colors by using that data itself to render colored rectangles. The application loads a CSV file containing population statistics from the United Nations using D3’s `csv` utility, then employs React to generate an SVG output where each data row maps to a rectangle. The code also prepares a summary message using `d3.csvFormat` to display the data size in kilobytes, row count, and column count. The visualization is built with React’s `useState` and `useEffect` hooks to fetch and manage the dataset.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data.

MIT Licensed

Similar vizzes