Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup within VizHub, showing how to load D3 v5 from a CDN and import specific functions like `select` from the `d3` module, along with a local ES6 module exporting a `message` string. The rendered output is a full-screen SVG element with a red background, styled via an external CSS file and an inline script that applies the selection. The code illustrates basic SVG rendering and module imports without any data binding or interactive behavior.
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