Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

React Starter With d3

Public visualization

React Starter With d3

0 stars0🌍 Public
Mmartfhill
Last edited Jan 7, 2022
Created on Jan 7, 2022
Forked from React Starter

This example demonstrates a minimal React application that loads a CSV dataset and displays its size in kilobytes, row count, and column count. The code uses React hooks (useState and useEffect) to fetch data asynchronously via d3.csv from a remote URL, then formats the result using d3.csvFormat. The interface is intentionally simple: the output renders as large, plain text inside a pre element. This serves as a starter template for integrating d3 data loading and parsing workflows within a React component structure.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed