Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork - Loading data with d3 and React

Public visualization

Fork - Loading data with d3 and React

0 stars3🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed