Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup that renders a static text message into a web page. It imports the `select` function directly from the D3 v5 library via UNPKG, alongside a local ES6 module that exports the string “Hello VizHub!”. The code uses `select('#message').text(message)` to update the DOM, while also defining a regular expression and a constant to show basic JavaScript syntax. The page structure loads D3 from a CDN and external styles, making it a simple template for modular D3 projects.
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.
Test Heading
MIT Licensed