Skip to main content
100%

Fork of ICE-5: Loading and Parsing CSV Data with D3.js

✓ Published0🌍 Public
Ppranatiyv
Last edited Feb 25, 2022
Created on Feb 25, 2022
Forked from HTML Starter

This visualization demonstrates how to load and parse CSV data using D3.js. The page displays a heading explaining the lesson, an SVG image, and a message area that reports the data file's size in kilobytes, row count, and column count. The code uses the `d3.csv()` method to fetch a remote CSV file from a GitHub gist and then applies `Math.round()` and string formatting to calculate the file size. The data source is loaded from a hardcoded URL, and the information is rendered as text within an HTML `<pre>` element.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes