🌍 Public
Viewing a saved revision (read-only)
8db79112a571466d9fa7c796c123cdde
JS in HTML
This example demonstrates that D3 v7 functions can be used directly within an HTML page, where the body displays the static text "Hello HTML". The page imports D3 from a CDN and logs the `select` function to the console, while separate ES modules (`index.js`, `something.js`, `thing.js`) chain together to form and log the string "Hello A Planet Earth." The visualization highlights modular JavaScript composition and D3’s importability in a plain HTML context.
AI-generated description