🌍 Public
Viewing a saved revision (read-only)
be894b8b0dae48718dc2cd1c67301e24
Assignment1_Task_10
This example loads a CSV dataset from a GitHub gist and displays the first ten rows as JSON text in the browser. It uses D3 v5’s `csv` method to fetch and parse the data, then appends `pre` elements to the body to show the parsed structure. The code also imports a local ES6 module and demonstrates how D3 utilities like `csvFormat` can be used to measure data size.
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.