Fork of loading and parsing csv data using react
✓ Published0🌍 Public
This example demonstrates how to load and parse CSV data in a React component using D3’s `text` and `csvParse` functions. After fetching the file from a GitHub gist, it displays the file size in kilobytes alongside the total row and column counts of the parsed dataset. The code uses React hooks (`useState`, `useEffect`) with promises, showing a "Loading..." message until the asynchronous request completes.
AI-generated descriptionThis is going to demonstrate how to parse csv data with async/await and promises
MIT Licensed