Fork of Fork of Hello VizHub
✓ Published6🌍 Public
This example demonstrates a minimal D3.js setup that displays the text "Hello VizHub!" centered on a webpage. It loads D3 v5.16.0 from the UNPKG CDN and uses the `select` function to target the `#message` div, setting its text content. The project also shows how to import from local ES6 modules, with a separate `myMessage.js` file exporting the message string, and includes basic CSS styling for the text.
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