Skip to main content
100%

Fork of Loading Data with React & D3

✓ Published0🌍 Public
MMarta
Last edited Mar 23, 2021
Created on Mar 23, 2021

This example demonstrates the loading and summarization of a CSS named colors dataset using React and D3. It displays the data size in kilobytes, the number of rows, and the number of columns as text output. The application uses React's `useState` and `useEffect` hooks to manage the asynchronous loading process, while D3's `csv` function fetches and parses the remote CSV file. The `message.js` module calculates the summary statistics using `d3.csvFormat` to determine the data's size.

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.

MIT Licensed

Similar vizzes