Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Tutorial part 2

Public visualization

D3 Tutorial part 2

0 stars0🌍 Public
TTontonRitonBZH
Last edited Jan 10, 2023
Created on Jan 9, 2023
Forked from HTML Starter

This example demonstrates how to retrieve and summarize a remote CSV file using D3.js. It fetches a comma-separated file containing CSS named colors from a GitHub gist, then displays a text summary of the data’s size in kilobytes, row count, and column count using `d3.csv()` and `d3.csvFormat()`. The result is rendered into an HTML `<pre>` element, with the asynchronous fetch handled via `fetch()` and JavaScript’s `async`/`await` pattern. The page uses the d3.v5 library and relies on basic DOM manipulation.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed