Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal setup for a web visualization using D3.js version 5. It imports the `select` function from the D3 library to target a specific HTML element and set its text content. The text itself comes from a local ES6 module, showcasing how to organize code into separate files for reusability. The visualization renders a simple centered message, "Hello VizHub!", styled with CSS. This serves as a template for understanding how to load D3 via a CDN and combine it with modular JavaScript.
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