Skip to main content
100%

Parse CSV with D3

✓ Published0🌍 Public
Ddrandalldesign
Last edited Dec 30, 2024
Created on Dec 30, 2024
Forked from React Starter

This example demonstrates how to parse a CSV file and display basic statistics about the data in a React application. It fetches a CSV of CSS named colors from a GitHub Gist, uses the `d3.csv` API to parse the remote text, and then renders the file size in kilobytes, row count, and column count on the page. The React app uses `createRoot` from `react-dom` to render a separate "Hello React!" message, while the D3 parsing results are displayed via direct DOM manipulation.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes