Skip to main content
100%

JS in HTML

✓ Published0🌍 Public
LLouis Astorg
Last edited Aug 1, 2022
Created on Aug 1, 2022
Forked from HTML Starter

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
MIT Licensed

Similar vizzes