Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Loading and Parsing CSV Data

0 stars0🌍 Public
FFrancisco Ortega
Last edited Mar 11, 2021
Created on Mar 11, 2021
Forked from HTML Starter

This example demonstrates the basic workflow of loading and parsing a CSV file with D3.js, displaying summary statistics about the dataset. It fetches a CSV file containing CSS named colors from a GitHub gist, parses it, and shows the file size in kilobytes, the number of data rows, and the number of columns. The visualization uses the `d3.csv()` function to asynchronously fetch and parse the data, and `d3.csvFormat()` to measure the formatted output length. The resulting information is rendered as large text using plain HTML and CSS styling.

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