Skip to main content
100%

Fork of ice5

✓ Published0🌍 Public
Sshabbab01
Last edited Feb 28, 2022
Created on Feb 28, 2022
Forked from ice5 Assignment

This example demonstrates the use of D3 v5 to fetch and parse a remote CSV file containing Iris dataset records, logging the file size, row count, and column count to the console. The page itself uses D3’s `select` method to set the text of a message div, while importing a local ES6 module for the displayed string. The code relies on the `d3.csvParse` API and the native `fetch` function to handle the data loading, with the CSV hosted on GitHub Gist.

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