Fork of activity6_task3
✓ Published1🌍 Public
This example demonstrates a minimal VizHub project that loads D3 via UNPKG and uses local ES6 modules. It imports the `select` function from D3 to set the text of a `#message` div to "Hello VizHub!", showing how to combine library imports with custom module code. The page uses a simple CSS stylesheet to center and enlarge the text, and includes a regular expression constant. The code shows the basic structure of importing from both D3 and a local file, with the message rendered using `select('#message').text(message)`.
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