Skip to main content
100%

Fork - Parsing csv data with d3

✓ Published2🌍 Public
DDeepak Tomson
Last edited Jul 24, 2021
Created on Jul 24, 2021

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 description

Smiley face implementation with React & D3.

MIT Licensed

Similar vizzes