Skip to main content
100%

Cars Report

✓ Published0🌍 Public
SSahilPoonatar
Last edited Aug 25, 2021
Created on Aug 25, 2021
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes