🌍 Public
Viewing a saved revision (read-only)
2a4e702268e7446f9b1d7bdbcbffc05f
Fork of Hello VizHub
This example demonstrates the minimal structure of a VizHub project, where a static message is rendered to the page. It shows how to load D3.js from a CDN via UNPKG and use ES6 modules for local code organization. The code imports the `select` function from D3 and a `message` string from a local module, then sets the text of a `#message` div using `select('#message').text()`. Styling is applied through an external CSS file.
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.