Skip to main content
100%

Fork - Loading data with d3 and React

✓ Published3🌍 Public
DDeepak Tomson
Last edited Jul 24, 2021
Created on Jul 24, 2021

This example demonstrates how to load and summarize CSV data using D3 and React. It shows a simple text message reporting the data's file size in kilobytes, row count, and column count. The app uses React hooks (`useState` and `useEffect`) to fetch data from a GitHub gist via `d3.csv` and `d3.csvFormat` to calculate the metrics. The visualization is minimal, presenting only the computed statistics in a large `<pre>` element.

AI-generated description

Smiley face implementation with React & D3.

MIT Licensed

Similar vizzes