Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Data with React & D3

Public visualization

Loading Data with React & D3

0 stars0🌍 Public
MMareno Demmers
Last edited Oct 10, 2024
Created on Oct 10, 2024
Forked from MouseFollower

This example demonstrates a minimal React and D3 integration for loading and summarizing CSV data. It fetches a remote CSV file from a GitHub gist and displays a text summary with the file size in kilobytes, row count, and column count. The visualization uses React hooks (`useState`, `useEffect`) to manage the asynchronous data loading, while the `d3.csv` method handles parsing. The output is rendered as SVG-independent plain text inside a `<pre>` element, showing how React and D3 can work together for data preprocessing.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed