Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to build a simple web page with VizHub, showing a centered text message displayed in large font. It uses D3.js version 5’s `select` function to update the text content of an HTML element, and imports a custom ES6 module with an exported `message` constant. The page loads D3 from UNPGK and includes local CSS styling. The code also declares unused variables, including a number and a regular expression, which are not referenced in the visible output.
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