🌍 Public
Viewing a saved revision (read-only)
0ea7486f46224fa9882615d1c786a1dd
Loading and Parsing CSV Data
This example demonstrates the process of loading and parsing a CSV file using D3.js, displaying the results as three lines of text: the file size in kilobytes, the number of rows, and the number of columns. It fetches a remote CSV of CSS named colors via `d3.csv()`, which handles the network request and parsing. The resulting data is formatted with `d3.csvFormat()` to calculate its byte length. The presentation uses minimal HTML with a styled `<pre>` element.
AI-generated descriptionA program that parses and load any csv data. A bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.