Fork of Task-8(Tutorial-4)
✓ Published1🌍 Public
This example demonstrates how to set up a minimal VizHub project that loads D3 via UNPKG and uses ES6 module imports. It shows a simple D3 selection selecting an HTML div with an ID of `message` and setting its text content to "Hello VizHub!" using the `select` function from the `d3` namespace. The code also defines an unused constant and a regular expression to illustrate local variable and syntax usage. The page is styled with CSS to center the large text.
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