Skip to main content
100%

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

✓ Published1🌍 Public
RRahulSai05
Last edited Feb 26, 2022
Created on Feb 26, 2022
Forked from Hello VizHub

This example demonstrates loading and parsing a remote CSV file using D3.js version 7. The page displays the dataset's size, row count, and column count within a styled HTML element, alongside an embedded SVG image. It uses the `d3.csv` method to fetch and parse the data from a GitHub gist URL, then formats the summary with `d3.csvFormat` and updates the DOM via `document.getElementById`. The code also includes an unused `index.js` that imports from D3 and a local ES6 module, illustrating VizHub's modular workflow.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes