Activity 6
✓ Published0🌍 Public
This example demonstrates loading CSV data from a GitHub gist and rendering the first ten rows as formatted JSON on the page. It uses D3 v5’s `csv` method to fetch and parse the data, then `select` and `append` to insert text elements into the body. The code also imports `csvFormat` to calculate data size, and includes a local ES6 module exporting a message. Rendering is done with SVG 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