Skip to main content
100%

Loading and parsing CSV data PART - 2

✓ Published0🌍 Public
Ggoyalshivam204
Last edited Jun 19, 2023
Created on Jun 19, 2023

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes