🌍 Public
Viewing a saved revision (read-only)
75b31588c46f4408b039d8e35ca21979
Fork of Hello VizHub
This example demonstrates the basic workflow of a VizHub project, showing how D3.js v5 and local ES6 modules are combined to display text on a webpage. It uses d3.select to target a div element and set its content to a string imported from a separate module. The page loads D3 from UNPKG via a CDN script tag, while the main JavaScript logic is bundled and executed in the browser. The visualization is minimal, consisting solely of a large, center-aligned message with no data or interactive elements.
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.