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
Sstellnew
Last edited Aug 22, 2020
Created on Aug 22, 2020
Forked from Mouse Follower

This example demonstrates a minimal React application that loads a remote CSV dataset using D3's `csv` utility. The interface displays a simple text summary of the loaded data, showing the number of rows and columns. The application uses React's `useEffect` hook to asynchronously fetch the data from a GitHub Gist containing CSS named colors, and `useState` to store the parsed result. The message is generated by a custom `message` module and rendered inside an HTML `<pre>` element, with the entire app mounted via `ReactDOM.render`.

AI-generated description

a program that loads in some data using d3 utilities

Comments

Sign in to join the discussion.

MIT Licensed