Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup that renders the text "Hello VizHub!" inside a single HTML element. It shows how D3 can be used for basic DOM manipulation by importing the `select` API, while also illustrating the use of local ES6 modules to separate data or message constants from the main script. The page loads D3 v5 from UNPKG and applies styling via a linked CSS file. The visualization itself is a simple static text display, serving as a template for integrating D3 with external libraries and modular code.
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.
Test Heading
MIT Licensed