Skip to main content
100%

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

✓ Published0🌍 Public
PPrasanth Damarla
Last edited Feb 28, 2022
Created on Feb 28, 2022
Forked from Hello VizHub

This example demonstrates how to load and parse CSV data using D3.js, displaying the dataset’s size, row count, and column count in a large orange text block. It uses `d3.csv` to fetch data from a GitHub gist URL, then formats the summary with `d3.csvFormat`. The page also includes a decorative SVG illustration of a figure holding a sword, styled with raw HTML and CSS, while the accompanying code shows D3’s `select` function and local ES6 module imports. The visualization highlights D3 v7’s data-handling capabilities within a static SVG rendering.

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