🌍 Public
Viewing a saved revision (read-only)
ea6ec9476f2042898132aed53efb4855
Fork of D3 Starter
This example demonstrates the simplest possible D3 setup: a blank SVG element appended to the page body, with the word "hi" printed to the browser console. The code uses D3 v7’s `select` function to target the body and append an empty SVG container, while relying on an external script tag for the D3 library and a separate `bundle.js` for execution. No data or visual marks are drawn; the page merely shows a centered, oversized text "hi" as a static placeholder. The source is a starter template for learning D3's basic structure.
AI-generated descriptionA demonstration of how to start using D3 version 6.