CSV Parse etc
✓ Published0🌍 Public
This example fetches a CSV file containing CSS named colors and displays a summary of its contents, including file size, row count, and column count, in large text on a web page. It uses the Fetch API to retrieve the text, then `d3.csvParse` to parse the data into an array of objects. The code accesses `data.length` and `data.columns` to compute the statistics, and writes the result to a `<pre>` element via `document.getElementById`. The page loads D3 v5 from a CDN.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed