Skip to main content
100%

Handling Data for Viz

✓ Published0🌍 Public
Ggmishra4
Last edited Dec 1, 2021
Created on Nov 29, 2021
Forked from HTML Starter

This example demonstrates the initial steps of loading and parsing a CSV file for data visualization. The code uses the `fetch` API to request a remote file containing CSS named colors from a GitHub gist, and then employs `d3.csvParse` to convert the response text into a tabular data structure. The parsed data’s columns are logged to the console, and the implementation includes commented-out code showing both a promise-based "Pyramid of Doom" approach and an `async`/`await` alternative. The visualization itself is not yet rendered.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes