Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 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
MIT Licensed

Similar vizzes