🌍 Public
Viewing a saved revision (read-only)
80c19d30558f4e6197610e1b1c94d478
Activity 6_Task 2
This example demonstrates a minimal VizHub project that loads D3 from a CDN and displays a centered "Hello VizHub!" message. It shows how to import the `select` function from D3 and a local ES6 module that exports a string constant. The code uses `d3.select` to set the text content of a `<div>` element inside a static HTML page with CSS styling. No data visualization or dynamic rendering occurs beyond this basic DOM manipulation.
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.