Activity 6
✓ Published0🌍 Public
This example demonstrates the loading and display of the Iris dataset using D3 v5 within a Vue.js framework. The code imports functions such as `select`, `csv`, and `csvFormat` from D3, fetches the dataset from a GitHub gist URL, and outputs the first ten rows as a JSON-formatted string in a `pre` element. The page includes a large background image and uses SVG and WebGL rendering, following VizHub’s pattern of local ES6 module imports and CDN-loaded D3.
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