Activity 6
✓ Published0🌍 Public
This example loads a CSV file from a GitHub gist and displays the first ten rows as formatted JSON in the browser. It uses D3 v5’s `csv` method to fetch and parse the remote data, then appends the results to the page with `select` and `append`. The code demonstrates importing both D3 utilities and a local ES6 module, though the latter is not actually used in the visible output. The page renders plain text in a `<pre>` element, with the overall frame defined in an SVG background.
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