Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to set up a minimal D3.js visualization within the VizHub environment. It displays a static text message, “Hello VizHub!”, centered on the page using CSS. The code shows the integration of D3 v5 loaded via UNPKG, alongside local ES6 modules and stylesheets. It uses the `d3.select` method to target a `div` element and update its text content, with the message imported from a separate JavaScript module.
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.
MIT Licensed