Activity6
✓ Published0🌍 Public
This example loads a CSV from a GitHub gist using `d3.csv` and renders the first ten rows as JSON inside a `<pre>` element appended to the body via `d3.select`. It imports `select`, `csv`, and `csvFormat` from D3 v5, and computes the dataset size in kilobytes with `csvFormat`. The page also demonstrates local ES6 module imports with an exported message variable, though that message is not displayed in the visible output. The static SVG background image is embedded directly in the HTML.
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