Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Data with React & D3

Public visualization

Viewing a saved revision (read-only)

e5e0aa4ee207449994ce8a3b9379a715

Loading Data with React & D3

0 stars1🌍 Public
Jjwlam83
Last edited Jan 9, 2022
Created on Jan 8, 2022
Forked from Mouse Follower

This example demonstrates how to load and summarize a CSV dataset of CSS named colors using React and D3. It uses React state to store the fetched data and D3’s `csv` and `csvFormat` utilities to parse and measure the file. The rendered output displays the dataset’s size in kilobytes, row count, and column count. The page relies on a custom `message` module to format the summary text.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data