Cars Report
✓ Published1🌍 Public
This example displays a single car entry from a small dataset, formatting it as a text string with the year, make, model, and price. It demonstrates importing data from a local ES6 module (`cars.js`) and using JavaScript destructuring within the `formatCar` function. The page renders the message into the `#message-element` DOM node, showing how VizHub supports modular code and data sharing without relying on D3 for basic 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