Skip to main content
100%

Fork clear

✓ Published0🌍 Public
Wwachirar
Last edited Jan 18, 2021
Created on Jan 18, 2021
Forked from Cars Report

This example demonstrates a simple data-report generator that filters a static array of car listings and displays the results as formatted text in a large HTML `<pre>` element. It showcases VizHub’s support for local ES6 modules and external D3 loading via UNPKG, though the visible behavior relies on `JSON.parse` and string manipulation with `filter`, `map`, and `join` from the `cars.js` and `generateReport.js` modules. The page uses `document.getElementById` to update the message element dynamically with the generated report, highlighting modular code organization.

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