Activity 6
✓ Published0🌍 Public
This example demonstrates loading CSV data from a GitHub gist and displaying the first ten rows as JSON in the browser. The code uses D3 v5 via UNPKG, importing the `csv` and `csvFormat` functions, and appends formatted text to the body using D3’s `select` and `append` methods. The page’s SVG contains a background imaged embedded as a base64 JPEG, with minimal styling applied to the text elements.
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