Activity 6
✓ Published0🌍 Public
This example loads a dataset from a GitHub Gist using D3’s `csv` method and displays the first ten rows as JSON in a `pre` element. It demonstrates importing D3 modules via UNPKG and using local ES6 modules, with the page styled by a CSS file and rendered as HTML and SVG. The code also computes the data size in kilobytes using `csvFormat`.
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