Skip to main content
100%

D3 Tutorial part 2

✓ Published0🌍 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.

MIT Licensed

Similar vizzes