Skip to main content
100%

Loading Data with React & D3

✓ Published1🌍 Public
Nnicholasgonzalez1
Last edited Jun 22, 2021
Created on Jun 22, 2021

This example demonstrates how to load and display CSV data using React and D3. The app shows a simple text summary of the dataset, including file size, row count, and column count, or a "loading" message while the data is being fetched. It uses React’s `useState` and `useEffect` hooks to manage state and trigger the data request, and the `d3.csv` method from D3 v7 to load the remote CSV file. The data source is a GitHub gist containing CSS named colors.

AI-generated description
MIT Licensed

Similar vizzes