Skip to main content
100%

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

✓ Published1🌍 Public
YYbg99g
Last edited Feb 28, 2022
Created on Feb 28, 2022

This example demonstrates how to load and parse a CSV file using D3.js, displaying the file size, row count, and column count in a styled HTML page. The page includes a custom SVG flag image and uses the D3.js v7 library’s `d3.csv()` method to fetch data from a GitHub Gist URL, then `d3.csvFormat()` to compute the data size. The resulting statistics are rendered inside a `<pre>` element with large, teal background text, while the header uses a green background.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes