🌍 Public
Viewing a saved revision (read-only)
15c48f8b6a0249559320b750a4e4b9a7
Hello D3
This example renders the text “Hello HTML” directly in the browser using a minimal HTML page styled with CSS, where the body font size is set to 13em and centered. The JavaScript file imports the `select` function from the D3 library (d3.v7) and calls `d3.select('body').text('Hello HTML')` to replace the page body’s content with that string. The page loads D3 via a CDN script tag, demonstrating a bare-bones setup that combines vanilla HTML, CSS, and D3’s selection API for DOM manipulation.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.