Cars Report
✓ Published0🌍 Public
This example displays a simple HTML page with the text “Hello Viz” and “Hello VizHub!”. It shows how to import D3.js from a CDN and use local ES6 modules in a VizHub project. The code uses D3’s `select` method to set the text content of a div, relying on `d3.select` and JavaScript module syntax. Styling is handled via CSS, centering the message with a large font size. The data source is static text, demonstrating basic DOM manipulation with D3 and modular JavaScript.
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