Skip to main content
100%

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

✓ Published0🌍 Public
Aavinashchinta99
Last edited Jun 23, 2022
Created on Jun 23, 2022

This example demonstrates loading and parsing a CSV file using D3.js version 7, displaying the resulting data summary in a styled HTML page. The CSV data is fetched from a remote GitHub gist URL, and the script uses the `d3.csv` API to asynchronously retrieve and parse the data. The page then calculates and displays the file size in kilobytes, the number of rows, and the number of columns. A static SVG image named "City.svg" is also embedded in the page, while the D3 code runs within a basic HTML document that includes a styled `<pre>` element for the output message.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes