From Lakmal
This example displays the text “Hello Lakmal” at a large, centered font size on an otherwise blank HTML page, serving as a minimal demonstration of D3 version 7’s selection and DOM manipulation. The page loads D3 from a CDN and uses the `select` function from the D3 library to target the `body` element, then applies the text via the `.text()` method. It shows how D3 can be used for simple content injection without requiring complex data joins or scales, reflecting the basic setup needed for more advanced visualizations. The entire rendering relies on static HTML styling and the synchronous execution of the bundled JavaScript.