Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
CChirag Bansal
Last edited Jun 2, 2021
Created on Jun 1, 2021

This example demonstrates loading and parsing a CSV file containing CSS named colors, then displaying summary statistics about the dataset. The visualization presents a simple text message showing the file size in kilobytes, the number of columns, and the number of rows. The code uses the D3.js version 6 library, specifically the `d3.csv` method to fetch and parse the remote CSV data from a GitHub gist URL. After parsing, it calculates the file size using `d3.csvFormat` and outputs the results to both the console and the page body.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed