🌍 Public
Fork of D3 Starter
This example demonstrates the minimal setup required to render text with D3 version 7, displaying the message “Hello D3 version 7” centered on the page. The code uses the `select` function from the D3 module to target the `body` element and the `.text` method to inject the string. The HTML file imports D3 via a CDN script tag, while the JavaScript is bundled separately into `bundle.js`. Styling relies on inline CSS to enlarge the font size and center the content horizontally.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed
Comments
Sign in to join the discussion.