🌍 Public
Viewing a saved revision (read-only)
d8f6db7b4a3e41e5b997a37709c8fce1
Fork of Hello
Rrichard.adamson@hotmail.com
This example demonstrates a minimal D3.js setup within VizHub, showing how to import modules and render text to the page. It uses `select` from D3 to target a `div` and set its content to a string exported from a local ES6 module. The HTML loads D3 v5 from UNPKG and includes a separate stylesheet that centers and enlarges the message text. The code also defines an unused variable and a regular expression, though these do not affect the visible output.
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.