Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loadinf Data with react

Public visualization

Viewing a saved revision (read-only)

35dc51c187fd467da2a17f94af4c1224

Loadinf Data with react

0 stars1🌍 Public
MMark Mburu
Last edited May 5, 2021
Created on May 4, 2021
Forked from Smiley Face Part 1

This example demonstrates how to load external CSV data with D3 utilities and manage it through React state. It fetches a CSS named colors dataset from a GitHub gist, displaying file size, row count, and column count in a large text format. The visualization uses React’s `useState` and `useEffect` hooks to asynchronously load data via `d3.csv`, while a separate `message` module computes the statistics using `d3.csvFormat`. The interface shows a simple text summary rather than a graphical chart.

AI-generated description

A program that reads indata about css named colorsusing D3 utilities and uses React state to keep track of data.