Skip to main content
100%

JS in HTML

✓ Published0🌍 Public
Yyankesswang
Last edited Oct 25, 2022
Created on Oct 25, 2022
Forked from SVG Fundamentals

This example demonstrates minimal integration of D3.js within an HTML page, illustrating basic module imports and console output. The code imports a constant value from `something.js` and the D3 `select` function, logging both to the browser console. The page itself contains no visual elements—only a hidden-overflow body and a D3 script loaded via CDN. It serves as a foundational template for understanding how D3 v7 modules interact with standard JavaScript imports in a browser environment, without rendering any charts or SVG shapes.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes