Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Hhanulik.ondrej@gmail.com
Last edited Jul 27, 2022
Created on Apr 4, 2021
Forked from Hello VizHub

This example displays a report on car data by extracting specific values—such as make, model, and price—from a local JSON array and presenting them as large red text on a webpage. It demonstrates modular JavaScript by importing the car data from `vehicle.js` and a formatting helper from `formatCar.js` using ES6 `import` statements, then updating `<pre>` elements via `document.getElementById` and `innerHTML`. The page loads without external dependencies, relying on plain JavaScript and CSS from `styles.css` to style the highlighted output.

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