🌍 Public
Viewing a saved revision (read-only)
067b65ebccf6410dab0e772fcc0690a0
V1
This example displays the text “Hello D3 version 7” centered on a large white page, demonstrating a minimal setup for the latest major release of the D3 library. The code imports the `select` function from D3 and uses it to set the text content of the `<body>` element, while the HTML loads D3 v7 from a CDN. The page styling is applied through a CSS rule in the document head.
AI-generated descriptionA demonstration of how to start using D3 version 6.