Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to build a simple VizHub visualization that displays a formatted message about a car from a small, hardcoded JSON dataset. The visualization uses D3 v5, loaded via UNPKG, along with local ES6 modules for code organization. The `index.js` file imports the `select` function from D3 to set the text of an HTML div, while the message itself is generated by a custom module that parses the car data and formats it into a readable string. The rendering is minimal, showing the result as large centered text via 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