🌍 Public
Viewing a saved revision (read-only)
c787d8e3df4e465896584b9bc0f0a71c
Fork of Hello VizHub
This example demonstrates a simple SVG card with a title label and a greeting message, styled with a drop shadow. It shows how to import D3.js from a CDN via `https://unpkg.com/d3@5.16.0/dist/d3.min.js` and use the `select` API from the `d3` module to set text content. The code also imports a local ES6 module (`./myMessage`) to supply the string `'Hello VizHub!'`, and uses an external `styles.css` for text formatting.
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.