Assignment1_Q10
✓ Published0🌍 Public
This example loads a CSV dataset from a GitHub gist using D3’s `csv` function and displays the first ten rows as formatted JSON inside a `<pre>` element. The page renders a static SVG background image embedded as a base64-encoded JPEG, with D3 v5 loaded via UNPKG. The code imports utilities from D3, appends text elements to the document body, and uses a local ES6 module, though the module’s message is not displayed. It demonstrates basic data fetching, JSON serialization, and SVG backdrop composition.
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