Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

loading of data

Public visualization

Viewing a saved revision (read-only)

c9ab389dd74b47688455a9b1be760a08

loading of data

0 stars0🌍 Public
Ppavankalyan1507
Last edited Feb 25, 2022
Created on Feb 25, 2022

This example demonstrates how to load and parse a CSV dataset using D3.js. The visualization displays a title and a pre-formatted message area that reports the file size in kilobytes, the number of rows, and the number of columns after fetching data from a GitHub gist. The page also includes an embedded SVG illustration. The code uses the `d3.csv` method to retrieve and parse the remote CSV file, then calculates the formatted size with `d3.csvFormat` and updates the DOM via `document.getElementById`.

AI-generated description

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

See also React Starter.