Cars report
✓ Published0🌍 Public
This example demonstrates how to load D3 via UNPKG and use ES6 module imports in a VizHub project. It displays a simple text message, "Hello world!", inside an HTML `<pre>` element using JavaScript to set its content. The code imports from local ES6 modules, as shown in `myMessage.js`, and references the `document.getElementById` API to update the page. The project includes separate files for HTML structure, JavaScript logic, and CSS styling, though the styling is minimal and not applied to the visible output.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed