Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published1🌍 Public
FFernando C. Filho
Last edited Nov 17, 2021
Created on Nov 17, 2021

This example demonstrates the loading and parsing of CSV data from a remote URL, displaying the file size, row count, and column count as plain text. The code primarily uses D3.js version 5’s built-in `d3.csv` method, which returns a promise that resolves to parsed data. An alternative commented-out approach uses the Fetch API with `async`/`await` and `d3.csvParse` for manual parsing. The data comes from a gist containing CSS named colors, and the results appear in a large-font `<pre>` element.

AI-generated description
MIT Licensed

Similar vizzes