🌍 Public
Viewing a saved revision (read-only)
7f0dee4d8cfe4cf2aa8121a9326bbcde
JS en HTML
This example demonstrates a minimal HTML page that includes D3 v7 and logs a greeting message to the browser console, showing how to mix ES modules with a classic script. The `index.js` module imports a string from `something.js` using an ES module `export` and logs it alongside a D3 selection check, while `script.js` logs a simple "Hola mundo!" message. The page loads D3 from a CDN via the `d3.min.js` script tag and relies on `d3.select` to confirm the library is available.
AI-generated description