Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to structure a minimal D3.js visualization within the VizHub environment, rendering the text “Hello VizHub!” in a centered `<div>` with large styling. It shows the workflow of importing the `select` function from D3 v5 via UNPKG, and also imports a local ES6 module `message` from `myMessage.js`. The code uses `select('#message').text()` to set the displayed content, while a CSS rule controls the font size and alignment.
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