Parsing csv with D3.js
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed