Hello D3
✓ Published0🌍 Public
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.
MIT Licensed