🌍 Public
Viewing a saved revision (read-only)
73ef9e7695c24c038becf8986ef7cd9b
Activity 6_Task 1
This example displays a static web page that renders the text “Hello VizHub!” centered on the screen. The visualization is built using D3.js, specifically the `select` API to target the DOM element with the ID `message` and set its text content from an imported ES6 module. The page’s styling is controlled through an external CSS file, which sets the font size and alignment. The code demonstrates a minimal D3 v6 integration with a local module import, showing how D3 can be used for basic DOM manipulation rather than data-driven graphics.
AI-generated description