Cars Report
✓ Published0🌍 Public
This example demonstrates how to load and display a small dataset of car information in the browser. It parses a hardcoded JSON string containing five car records and renders it as text on an SVG canvas. The visualization uses D3.js v7, loaded via UNPKG, alongside native JavaScript ES6 modules for organizing the code. The page includes a separate module that exports the message “Hello VizHub!” and displays it in a styled element using the `textContent` property. Text formatting is handled through plain CSS.
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