🌍 Public
Viewing a saved revision (read-only)
1312ab57a6604b52a9ed0aa6de5b3978
JS in HTML
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 descriptionA demonstration of SVG shapes.