Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to display a static text message using D3.js and ES6 modules. It selects a div element by ID and sets its text content with d3.select().text(), while the message itself is imported from a separate local module, showing modular code organization. The page loads D3 v5 from UNPKG and uses a CSS file for styling the centered, large-font message.
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