Fork of D3 Starter
✓ Published0🌍 Public
This example demonstrates the minimal setup required to render text using D3.js version 6, showing the string "Hello D3" centered on a blank page. The HTML file loads the D3 library from a CDN and applies large, centered typography through CSS. The accompanying JavaScript imports the `select` function from D3 and uses it to target the body element, setting its text content directly. The code illustrates a basic integration of D3’s DOM selection and manipulation methods without any data binding or complex visualizations.
AI-generated descriptionMIT Licensed