Skip to main content
100%

Fetch API

✓ Published0🌍 Public
SSreekar Reddy
Last edited May 10, 2021
Created on May 10, 2021

This example displays the size and structure of the CSS Named Colors dataset after fetching and parsing a remote CSV file. It reports the formatted data size in kilobytes, the total number of rows, and the number of columns in a plain text container. The code uses the Fetch API to retrieve the file and leverages D3.js version 6’s `d3.csv` method for loading and parsing, alongside `d3.csvFormat` to measure the data’s byte length. The visualization is implemented as a React component.

AI-generated description
MIT Licensed

Similar vizzes