🌍 Public
Viewing a saved revision (read-only)
d2a0aa1e54764857ad828eff1ee84129
Fork of D3 Starter
This example demonstrates the simplest possible setup for a D3 visualization, displaying the text “Hello D3 version 7” in the center of the page. It uses `select('body')` from the D3 v7 library to target the body element and sets its text content via `.text()`. The page loads D3 from a CDN and includes a separate `bundle.js` file, while the HTML applies a large 13em font size through inline CSS.
AI-generated descriptionA demonstration of how to start using D3 version 6.