Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup that renders a static text message in the browser. It shows how to load D3 v5 from a CDN, import the `select` function from the `d3` module, and import a local ES6 module. The code uses `select('#message').text(message)` to insert the text "Hello VizHub!" into the page, while a CSS rule centers it with a large font size.
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