🌍 Public
Fork of pepe
This example demonstrates the fundamental workflow of VizHub by displaying a simple text message in the browser. It shows how to import D3 modules using ES6 syntax and how to load additional functionality from a local JavaScript file. The code uses D3 v5, specifically the `select` function, to target a div element by its ID and set its text content. The message originates from a separate ES6 module, while styling is applied through an external CSS file. All assets are loaded via a CDN link for D3 and a local bundle script.
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








Comments
Sign in to join the discussion.