Activity 6
✓ Published0🌍 Public
This example demonstrates the basic workflow of a VizHub project, showing how a web page can be assembled using D3.js and local ES6 modules. It presents a simple message, "Hello VizHub!", centered on the screen with large text styling. The code loads D3 v5 via UNPKG and uses the `select` API from D3 to target the `#message` div, setting its content from an imported `message` variable defined in a separate `myMessage.js` file. The example also includes a regular expression and a local CSS file for styling.
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