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)

a339e82d8254401281debe6a7167b0bb

Loading and Parsing CSV Data

0 stars0🌍 Public
HHuldahMerlinKolli
Last edited May 4, 2023
Created on May 4, 2023
Forked from HTML Starter

This example demonstrates how to load and parse CSV data from a remote URL using D3 v5. It displays a summary of the parsed dataset, showing the file size in kilobytes, the number of rows, and the number of columns. The code uses `d3.csv` to fetch and parse the data asynchronously, then calls `d3.csvFormat` to calculate the data size. The results are rendered into a preformatted HTML element with large text styling, sourced from a GitHub gist containing named CSS colors.

AI-generated description

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

See also React Starter.