🌍 Public
Viewing a saved revision (read-only)
ebd8c9c96d5d4cbab5b5f5fc50aa00f6
Activity 6
This example loads a CSV file hosted in a GitHub gist and displays its raw contents in the browser. It uses D3 v5’s `csv` method to fetch and parse the data, then renders the first ten rows as a JSON string inside a `pre` element. The page also demonstrates ES6 module imports from a local file and D3’s `select` API for DOM manipulation.
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.