🌍 Public
Viewing a saved revision (read-only)
bd2d7918eda34882ac1f9be0337ab8ee
Hello Sumiksha
This example displays the text “Hello Sunshine” in large, centered type on a blank page. It demonstrates the simplest possible D3.js DOM manipulation by using `d3.select('body').text()`, which replaces the body’s content with the string. The page’s styling comes from a CSS rule that sets the font size and text alignment. The code loads D3 v6 from a CDN and runs the selection inside an inline script tag, showing a basic pattern for combining D3 with static HTML and CSS.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.