Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ep15 Parsing CSV Data with D3

Public visualization

ep15 Parsing CSV Data with D3

0 stars0🌍 Public
GGordon Yang
Last edited Apr 7, 2021
Created on Apr 7, 2021

This example demonstrates how to fetch and parse CSV data using D3’s `d3.csv` method, displaying summary statistics about the dataset in a large text block. The code loads a CSV file containing CSS named colors from a GitHub gist, then computes and renders the file size in kilobytes, row count, and column count using `d3.csvFormat` and the parsed data’s `.length` and `.columns` properties. The visualization is minimal, showing only the parsed file’s metadata rather than a graphical chart, with the results presented in an HTML `<pre>` element styled with large font size.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed