Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

c1657a7665dd48a9b368ff0539ecb6d8

Loading and Parsing CSV Data

0 stars0🌍 Public
Ssabredefable
Last edited Apr 8, 2021
Created on Apr 8, 2021

This example demonstrates loading and parsing a CSV file by fetching a dataset of CSS named colors and displaying summary statistics about it. The visualization shows the file size in kilobytes, the number of rows, and the number of columns in a large text message. It uses the D3.js v6 library, specifically the `d3.csv` method to load and parse the data, and `d3.csvFormat` to calculate the data size. The output is presented as plain text in a styled `<pre>` element.

AI-generated description