Skip to main content
100%

Importing Data

✓ Published0🌍 Public
AAki78
Last edited Jun 5, 2021
Created on Jun 3, 2021
Forked from HTML Starter

This example demonstrates how to import and parse CSV data in a React-based visualization using D3 v5. It fetches a remote CSV file containing CSS named colors and displays the file size in kilobytes on the page. The code uses the `fetch` API to retrieve the data, `d3.csv` to parse it, and `d3.csvFormat` to calculate the formatted output length. A large CSS font size (13em) makes the resulting word count visually prominent, showing a minimal but functional data-import workflow.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes