Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fetching data

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed