Loading and parsing CSV data PART - 2
✓ Published0🌍 Public
This example displays a summary of a CSV file loaded from a remote URL, showing its size in kilobytes, row count, and column count. It first fetches the text using the Fetch API with `async`/`await`, then parses it with `d3.csvParse`. Alternatively, the code demonstrates using `d3.csv` to directly load and parse the CSV, and `d3.csvFormat` to measure the formatted data size. The data originates from a GitHub gist containing CSS named colors.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed