Vizhub leson 1 TCB
✓ Published0🌍 Public
This example demonstrates static SVG shapes—a brown rectangle and four nested concentric circles in red, yellow, purple, and blue—rendered inside a fixed 500×500 viewport. It also loads D3 via UNPKG and uses the `import { select } from 'd3'` statement to select a `#message` div, whose text is set to a string imported from a local ES6 module. The code highlights D3’s data binding and module integration without interactive behavior or external data sources.
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