🌍 Public
Viewing a saved revision (read-only)
0300a468ae8c451da9ba4a5b437f62ef
Fork - Parsing csv data with d3
This example demonstrates how to parse CSV data with D3 utilities in a React context, comparing the results from `d3.csv` and `d3.csvParse`. It fetches a remote CSV file from a GitHub gist, then displays the file size, row count, and column count in the browser. The code uses the Fetch API to retrieve the raw text and D3 v5 functions `d3.csv` and `d3.csvParse` to process the data, with output rendered into HTML `<pre>` elements.
AI-generated descriptionSmiley face implementation with React & D3.