Skip to main content
100%

load-csv-data

✓ Published0🌍 Public
Rriizevans
Last edited Aug 24, 2023
Created on Aug 24, 2023
Forked from mouse-circle

This example demonstrates how to load and summarize a CSV dataset in a React application using D3. The page displays a text message indicating the number of columns, rows, and file size in kilobytes once the data from a GitHub gist has been fetched. The code uses the `d3.csv` function to parse the remote CSV file, and React hooks `useState` and `useEffect` manage the asynchronous data loading and state updates. The result is rendered as a simple `<pre>` element showing the computed data metrics.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes