Skip to main content
100%

Fork of Loading Data with React & D3

✓ Published0🌍 Public
Ppfennig
Last edited Jun 21, 2021
Created on Jun 21, 2021

This example demonstrates the use of React state to manage data loading and display summary statistics about CSS named colors. The app fetches a CSV file containing color names and values using the `d3.csv` utility, then presents a text summary showing the data size in kilobytes, the number of rows, and the number of columns. The visualization uses a React functional component with `useState` and `useEffect` hooks, and renders the output as a large `<pre>` element. Data is sourced from a GitHub gist containing the CSS named colors dataset.

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