D3 Starter 01
✓ Published0🌍 Public
This example demonstrates the simplest possible D3 setup: it clears the HTML body and replaces its content with the text “Hello D3 version 7.” The page loads D3 v7 from a CDN and uses the `select` function from the d3 module to target the `body` element, then applies the `.text()` method to set its content. The visualization is static, with no data, scales, or interactive elements, serving purely as a baseline for understanding D3’s core DOM-manipulation API. The accompanying video walks through the code step by step.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed