HTML Starter
✓ Published0🌍 Public
This example demonstrates how to create a basic VizHub page using D3 v5 and ES6 modules. It displays a large, centered text message by leveraging D3’s `select` function to manipulate the DOM. The code imports both the D3 library via UNPKG and a local module (`myMessage.js`), showcasing modular JavaScript. Though the `cars.js` file contains a small dataset with car information, the page does not render or use this data in its current behavior.
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