Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

JS in HTML

Public visualization

Viewing a saved revision (read-only)

7bba99d25abd4bebb1ae2c5aa49f6771

JS in HTML

0 stars1🌍 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