Skip to main content
100%

Parsing csv with D3.js

✓ Published0🌍 Public
Ttrucntx007
Last edited Feb 23, 2022
Created on Feb 23, 2022
Forked from HTML Starter

This example displays a summary of a parsed CSV file, showing the file size in kilobytes, the number of rows, and the number of columns in a large, web-styled text block. It fetches the remote CSV data using the `fetch` API and then parses it with `d3.csvParse` from D3.js v7. The result is rendered onto an HTML page within a React-free setup, with the summary text assigned to a `pre` element via the DOM. The data source is a GitHub-hosted file named `STocks.csv`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes