Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

ee194b8da2af415fb53e5b7f128284f8

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
AAlish Shrestha
Last edited Nov 25, 2023
Created on Nov 25, 2023

This example demonstrates a minimal interface for inspecting a CSV dataset of CSS named colors. It displays the file size in kilobytes, the number of rows, and the number of columns using large, readable text. The visualization loads the remote CSV file using `d3.csv`, which returns a promise, and the results are rendered directly into an HTML `<pre>` element. The code also includes commented-out alternatives using the Fetch API with async/await, contrasting different approaches to asynchronous data loading.

AI-generated description