js
✓ Published0🌍 Public
This example displays the text “Hello D3 version 7” centered on a blank page. The visualization uses the `d3.select` API from D3 v7 to target the HTML `body` element and set its text content. The styling is applied via a CSS rule in the embedded `<style>` tag, which sets the font size to 13em and centers the text. The code loads D3 from a CDN and runs the `bundle.js` script to execute the selection and text assignment.
AI-generated descriptionMIT Licensed