Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

ab0636e647f643ecb08f90e5b62f07cb

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
JJulia
Last edited Oct 3, 2021
Created on Oct 3, 2021

This example demonstrates how to load and parse a CSV file containing CSS named colors, displaying the file size, row count, and column count as large text on the page. The code uses the D3 v5 library’s `d3.csvParse` method to convert fetched text into a data array, while the data is retrieved via the Fetch API with `async` and `await` syntax. The source CSV is hosted as a GitHub Gist, and the visualization emphasizes the parsing workflow rather than graphical rendering.

AI-generated description