Cars Report
✓ Published0🌍 Public
This example demonstrates how to combine static HTML, JavaScript, and CSS to create a simple report page. It loads data from an inline JSON array of car details (name, model, price, year) and parses it using the native `JSON.parse` method. The page displays a large "Hello" message in a designated `<pre>` element and uses an external ES6 module to export a separate "Hello VizHub!" string, though this module's content is not rendered in the visible output. The code relies on standard DOM methods like `getElementById` and `textContent` to update the page.
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