Assignment 1
✓ Published0🌍 Public
This example demonstrates the visualization of a CTG dataset by loading and displaying its first 10 rows as formatted JSON text on an HTML page. Using D3 v5’s `csv` and `csvFormat` functions via UNPKG, the code fetches external data from a GitHub gist and appends the result to the body as a `pre` element. The page also imports a local ES6 module for a static message, while a background US image and custom CSS styling enhance the presentation.
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