🌍 Public
Viewing a saved revision (read-only)
6fd03a6ec8aa4ff8bd5406fe54b71ff3
Loading and Parsing CSV Data
This example demonstrates the process of loading and parsing a CSV file, displaying basic information about the dataset in a large preformatted text element. It fetches a CSV file containing CSS named colors from a GitHub gist, parses it using `d3.csvParse`, and shows the file size in kilobytes, row count, and column count. The implementation uses the Fetch API with `async/await` to retrieve the text, then D3 v7's CSV parsing utilities to structure the data.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.