Assignment2_Graphs
✓ Published1🌍 Public
This example displays a single line of text, "Hello VizHub!", centered on the page. It demonstrates a minimal D3.js v5 setup using a custom ES6 module. The code imports the `select` function from D3 via UNPKG to target a specific HTML element, and it imports a `message` string from a local module to populate that element’s text content. The page’s styling is handled by a linked 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