🌍 Public
Viewing a saved revision (read-only)
3d49d6a51de7438fa1f9e0a0cbe46869
Hello VizHub
This example demonstrates the core functionality of VizHub by displaying a simple, bold "Hello VizHub!" message centered on a dark blue background with large white Ubuntu typography. It shows how to assemble a minimal D3.js v5 visualization using ES6 modules, importing the `select` function from the d3 package and a custom string from a local `myMessage.js` module. The `select('#message')` API targets a div element and sets its text content to the imported message. The HTML file loads D3 from a CDN and links an external stylesheet that applies the styling.
AI-generated descriptionAn example showing the capabilities of VizHub.