Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loadind Data

Public visualization

Viewing a saved revision (read-only)

43fa926280f841a197ec713eb764ee8e

Loadind Data

0 stars2🌍 Public
Sseanlucano
Last edited Dec 24, 2020
Created on Dec 24, 2020

This example demonstrates loading and parsing external data using the JavaScript Fetch API and D3's `csv` method. The page displays the static text "Hello HTML" in large type, while the console logs the raw contents of a CSV file containing CSS named colors fetched from a GitHub gist. A second script imports `select` and `csv` from D3, reads a local `data.csv` file, and logs the parsed data array to the console. The visualization focuses solely on data acquisition, with no visual output beyond the HTML text.

AI-generated description

Loading and parsing data with fetch.