🌍 Public
Viewing a saved revision (read-only)
3e37e49ad8734ce0b3f3f21cf92e07ea
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.