Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to set up a minimal VizHub project that loads D3 from a CDN and uses ES6 modules for local code organization. It renders a message to the page via a div element, showing the basic workflow of importing D3 and inserting dynamic content into the DOM. The code uses d3.select to target the #message container and d3.text to display content, highlighting the integration of external libraries and modular JavaScript without requiring a build step. The entire visualization is contained in a single HTML file with linked CSS and bundled scripts.
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