Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

4d1de304035c446b8cb58fc6509891dd

Loading and Parsing CSV Data

0 stars0🌍 Public
NNitin Vadhiya
Last edited Oct 10, 2021
Created on Oct 10, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data from a remote URL using D3.js version 5. The page displays a summary of the dataset—showing file size in kilobytes, row count, and column count—using the `d3.csv` method with a Promise-based `then` callback. The data comes from a GitHub gist containing CSS named colors. An alternative commented-out approach using `fetch`, `async`/`await`, and `d3.csvParse` is also provided, highlighting both modern JavaScript patterns for handling asynchronous data loading.

AI-generated description

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

See also React Starter.