activity-6_Task 1
✓ Published0🌍 Public
This example demonstrates a minimal Hello World page that displays a greeting message centered on the screen. It loads D3 v5 from UNPKG and uses the `d3.select` API to target the HTML `div#message` element, setting its text content to a string imported from a local ES6 module. The page renders static text only, with no data binding, interaction, or visual encoding beyond basic CSS styling for font size and alignment.
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