🌍 Public
Viewing a saved revision (read-only)
ce608b7f486c4597a2fc2076631ed5a4
Hello VizHub
This example demonstrates a minimal D3.js setup by displaying the text “Hello VizHub!” on a styled web page. It uses `d3.select` to target the `#message` div and set its content from an ES6 module export. The page loads D3 v5 from a CDN, applies a dark blue background with Ubuntu font via CSS, and centers the large text. The code separates logic into `index.js` and `myMessage.js`, showing modular JavaScript alongside a simple HTML structure.
AI-generated descriptionAn example showing the capabilities of VizHub.