Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fetching data

Public visualization

Viewing a saved revision (read-only)

2c7823b1aa104cc0aed7b3688280cdcf

Fetching data

0 stars0🌍 Public
SShanoy
Last edited Mar 13, 2022
Created on Mar 12, 2022
Forked from HTML Starter

This example displays basic metadata about a fetched CSV file, showing its size in kilobytes, row count, and column count in large text. It loads a named CSS colors dataset from a GitHub gist using the `d3.csv` method with a Promise-based `.then()` callback, then counts rows via `txt.length` and columns through `txt.columns.length`. The text size is computed from `d3.csvFormat(txt).length`. The page uses D3 v7 and renders the resulting information inside a `<pre>` element.

AI-generated description

Web program to fetch data