Activity 6
✓ Published0🌍 Public
This example demonstrates CSV data loading and display using D3 v5 within a Vue application. It fetches a remote CSV file from a GitHub gist, converts the data to JSON, and renders the first ten rows into a styled HTML `<pre>` element. The code uses D3’s `csv` and `csvFormat` functions, along with DOM selection via `select` from the `d3` module. The page also embeds a large SVG background image, though the primary focus is the textual data output.
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