loading data
✓ Published3🌍 Public
This example demonstrates how to load D3.js from a CDN and use local ES6 modules within a VizHub project. The visualization displays the text "Hello VizHub!" centered in the browser window by utilizing the `d3.select` API to target the `#message` div and set its text content. The code also imports a string from a separate local module, `myMessage.js`, and applies styling from an external `styles.css` file, showcasing a minimal setup for combining external libraries with modular code.
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