Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
MMarcelo Albuquerque
Last edited Apr 12, 2021
Created on Apr 12, 2021

This example demonstrates the process of loading and parsing CSV data from a remote URL. It fetches a dataset of CSS named colors and displays basic statistics—file size, row count, and column count—in a large preformatted text element. The code uses the native `fetch` API with `async`/`await` to retrieve the text, then parses it with `d3.csvParse` from D3 v5. The page also includes commented-out alternatives using `d3.csv` and a nested promise chain.

AI-generated description
MIT Licensed

Similar vizzes