Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Laoding and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

495790165f5d4fca82c9b36150053c2a

Laoding and Parsing CSV Data

0 stars0🌍 Public
NNana Kwame
Last edited Aug 17, 2023
Created on Aug 16, 2023
Forked from HTML Starter

This example demonstrates how to load and parse CSV data from a remote URL, displaying summary statistics about the dataset. It uses d3.csv to fetch and parse the file, then reports the file size in kilobytes, row count, and column count. The code also includes an alternative approach using fetch, async/await, and d3.csvParse for manual text handling. The data source is a GitHub gist containing CSS named colors in CSV format. The results appear as plain text in a pre element.

AI-generated description

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

See also React Starter.