Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a basic setup for building a D3 visualization in VizHub. It loads the D3 library from an external CDN and imports ES6 modules locally, showing how to combine these approaches. The code renders a static message, "hello world," into a div element using the D3 v5 library. It uses the standard D3 selection and DOM manipulation APIs, with the `index.js` file handling the text assignment, while the HTML structure and stylesheet are provided in separate files.
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