Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup within the VizHub environment, displaying the text “Hello VizHub!” centered on the page. The code imports the `select` function from the D3 v5 library via UNPKG and a custom local ES6 module. It uses `select('#message').text(message)` to set the content of a div element, with styling applied through an external CSS file. The example highlights how to combine CDN-hosted libraries, local modules, and D3 selections in a simple, self-contained visualization template.
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