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
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

Comments

Sign in to join the discussion.

MIT Licensed