🌍 Public
Viewing a saved revision (read-only)
9f400055fec047dc8bbbc13536f2b15a
Fork of Hello VizHub
This example demonstrates how to compose a simple D3 visualization using modular ES6 imports. It loads a static message into a page via D3’s `select` function, while the text content comes from a local module. The code relies on D3 v5 loaded from UNPKG, and shows both importing from the global D3 library and from a custom JavaScript file, with styling provided by an external CSS stylesheet.
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.