Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Parsing with D3

Public visualization

Viewing a saved revision (read-only)

2cd830265b9f4059bd2c443ff18ef458

Parsing with D3

0 stars0🌍 Public
GGary Ditsch
Last edited Feb 27, 2021
Created on Feb 27, 2021
Forked from HTML Starter

This example demonstrates how D3 parses CSV data from an external URL and logs the resulting JavaScript objects to the browser console. The page displays only the number 13 in a large font, while the actual parsing work happens quietly in the background. Using the `d3.csv()` method from D3 v6, it fetches a dataset containing CSS named colors from a GitHub gist and converts each row into an object. The code then outputs the parsed array via `console.log(text)`, showing the transformation from raw text into structured data without any visual rendering.

AI-generated description

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

See also React Starter.