Fork of Hello VizHub_sk
✓ Published1🌍 Public
This example demonstrates how to build a minimal D3.js visualization using ES6 modules. It uses d3’s `select` function to update the text content of a `div` element with a greeting. A custom local module, `myMessage.js`, exports a string constant that is imported into the main script. The page loads D3 v5 from UNPKG and applies centered, large font styling via a separate CSS file.
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