Skip to main content
100%

Loading data with React and d3

✓ Published0🌍 Public
SShaneBowen1
Last edited Mar 16, 2021
Created on Mar 16, 2021

This example demonstrates how to load and summarize a CSV dataset in a React application using d3. The app fetches CSS named colors data from a GitHub gist and displays its file size, row count, and column count in a large text element. React’s `useEffect` hook triggers the asynchronous `d3.csv` request, while `d3.csvFormat` calculates the data’s byte length. The visualization is rendered as SVG-free text via the `pre` element.

AI-generated description

Loading data with React and d3

MIT Licensed

Similar vizzes