Fork of activity 6
✓ Published0🌍 Public
This example demonstrates how VizHub supports modern JavaScript workflows, importing D3.js functions and local ES6 modules to render a simple text message. The page loads D3 v5 from UNPKG and uses the `select` API to target the `#message` div, setting its content from an imported `message` string. A local `styles.css` file centers the text at a large font size, while the accompanying README highlights the platform’s capabilities for bundling and module reuse. The code also includes a regular expression and an unused variable, indicating a template or learning exercise.
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