Fork of ice5
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed