🌍 Public
Viewing a saved revision (read-only)
55ec790c8ef5499bb5dfdc9edd58bdb7
Fork of Hello VizHub
This example demonstrates a minimalist web page that displays a large, centered, blue "Hello VizHub!" message. It shows how to set up a basic D3.js project within the VizHub environment, including loading D3 via UNPKG and importing both D3 functions and local ES6 modules. The code uses the `select` API from `d3` to target the `#message` div and set its text content. The page's styling, defined in a separate CSS file, changes the message color to gold on hover.
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.