🌍 Public
Viewing a saved revision (read-only)
58334dc68b75474dbaf74de548c6f525
React Starter With d3
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 descriptionReact Starter code.