🌍 Public
Viewing a saved revision (read-only)
cc0a0d465ed048caaec01d0db9673f13
Hello VizHub
This example demonstrates how to display a simple text message on a webpage using D3.js and ES6 modules. The code selects a div element with the ID `message` and sets its text content using D3’s `select` method. The message itself comes from a separate JavaScript module, showing how to import and reuse local functions. The page is styled with a dark background and large Ubuntu font via CSS, referencing a Google Fonts import. D3 v5 is loaded from a CDN, and the visualization uses no external data sources.
AI-generated descriptionAn example showing the capabilities of VizHub.