Fork of HTML Starter
✓ Published0🌍 Public
This example demonstrates the simplest possible D3.js visualization: a single line of text rendered in the browser. Using the D3.js v7 library, the code selects the body element from the HTML document and replaces its content with the string "iHello d3". The page is styled with CSS to display this text at an extremely large font size of 13em, centered on the screen. The visualization serves as a minimal proof-of-concept, showing how D3’s selection API can manipulate the DOM directly, with the page structure defined in the accompanying index.html file.
AI-generated descriptionhello this is working
MIT Licensed