Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js application that displays the text “Hello VizHub!” in the center of the page. It uses the `select` function from D3 v5 to target a `#message` div and set its content from a local ES6 module. The code also imports the D3 library via UNPKG and separates the message string into a modular `myMessage.js` file, showing basic module import patterns and styling with CSS.
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