Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Loading and Parsing CSV Data

0 stars0🌍 Public
PPetko4
Last edited Jul 31, 2022
Created on Jul 31, 2022
Forked from HTML Starter

This example demonstrates the process of loading and parsing a CSV file, displaying basic information about the dataset in a large preformatted text element. It fetches a CSV file containing CSS named colors from a GitHub gist, parses it using `d3.csvParse`, and shows the file size in kilobytes, row count, and column count. The implementation uses the Fetch API with `async/await` to retrieve the text, then D3 v7's CSV parsing utilities to structure the data.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed