Skip to main content
100%

JS in HTML

✓ Published1🌍 Public
CCurran Kelleher
Last edited Apr 10, 2021
Created on Apr 10, 2021
Forked from HTML Starter

This example demonstrates how JavaScript modules can be seamlessly integrated into an HTML page using D3 v6. The page displays the text "Hello HTML" in large type, while the accompanying JavaScript logs greetings and exports to the browser console. It uses D3’s `select` import and modular exports from custom `something.js` and `thing.js` files, showcasing ES module syntax and dependency chaining. The rendering approach is simple static HTML with a CDN-hosted D3 script.

AI-generated description
MIT Licensed

Similar vizzes