Fork of HTML Starter
✓ Published0🌍 Public
This example shows a minimal HTML page that displays the text "ff" in the center of the viewport. It demonstrates how to integrate D3.js with vanilla JavaScript and CSS in a simple web document. The page loads D3 version 5 from a CDN and uses `d3.select('body').text('ff')` to replace the initial "Hello HTML" content with "ff", while a CSS rule sets the body's text alignment and font size. The code illustrates basic DOM manipulation through D3's selection API in a static, unanimated context.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed