Skip to main content
100%

JS in HTML

✓ Published0🌍 Public
Ttverdone
Last edited Aug 21, 2023
Created on Aug 21, 2023
Forked from HTML Starter

This example demonstrates a minimal setup for combining D3.js with modular JavaScript in an HTML page. It shows a static “Hello HMTL” message styled with large centered text, while the console logs a greeting built from imported modules and the D3 library itself. The code uses d3.v7 loaded via CDN, along with ES module imports (`import { selection } from "d3"`, `import { something } from "./something.js"`) to chain exports from separate files. The rendering approach is plain HTML and CSS, with no data or interactive visualization involved.

AI-generated description
MIT Licensed

Similar vizzes