Skip to main content
100%

Fork of Loading and Parsing CSV Data

✓ Published0🌍 Public
JJi Won Yeom
Last edited Jan 23, 2022
Created on Jan 22, 2022

This example demonstrates how to load and parse a CSV file containing CSS named colors. It fetches the data from a remote GitHub gist URL using the browser’s built-in `fetch` API with `async` and `await` syntax, then parses the raw text into a tabular format with `d3.csvParse`. The visualization outputs the number of rows, columns, and the file size in kilobytes to the console, highlighting the basic step of converting external data into a structured format for further use in D3 v5.

AI-generated description
MIT Licensed

Similar vizzes