Skip to main content
100%

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

✓ Published0🌍 Public
NNikhitha630
Last edited Feb 28, 2022
Created on Feb 28, 2022

This example demonstrates how to load and parse CSV data with D3.js, displaying a summary of the dataset’s size and structure in a styled HTML page. Using `d3.csv`, it fetches data from a GitHub-hosted CSV file containing Lionel Messi’s statistics, then computes and displays the total file size in kilobytes, the number of rows, and the number of columns. The page also embeds a static SVG illustration via an `<img>` tag, while the text output is rendered in a `<pre>` element with CSS styling.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes