Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Parsing CSV Data With D3

Public visualization

Viewing a saved revision (read-only)

d334accdc51e461db850d6a7562574a1

Parsing CSV Data With D3

0 stars0🌍 Public
Aalper2678
Last edited Mar 1, 2022
Created on Mar 1, 2022

This example demonstrates parsing a remote CSV file using D3, showing the file size, row count, and column count of the data. The visualization fetches a CSS named color dataset from a GitHub gist using the `fetch` API, then parses the text with D3's `csvParse` method. The resulting statistics are displayed as plain text in an HTML `<pre>` element, with D3 loaded via the unpkg CDN and styling applied through embedded CSS.

AI-generated description

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

See also React Starter.