Fork of Hello
✓ Published0🌍 Public
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.
MIT Licensed