activity6-task_4
✓ Published0🌍 Public
This example demonstrates a minimal VizHub scaffold, showing how to structure a D3 project with local ES6 modules. It uses d3.select to set the text content of a div element based on a message imported from a separate myMessage.js module. The example includes a CSS stylesheet for styling and loads D3 v5 from the unpkg CDN. The code defines constants and a regular expression inertly, but no data or visual output is generated beyond the static text element.
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