Skip to main content
100%

Cars Report

✓ Published1🌍 Public
Yyigong99
Last edited Jan 18, 2021
Created on Jan 18, 2021
Forked from Hello VizHub

This example demonstrates a simple text-based report of car listings, filtered by price and formatted as a readable string. The page displays a large, pre-formatted message element that is updated with the generated report content. It showcases the use of ES6 modules, including local imports and exports, alongside the D3 library loaded via UNPKG. The `generateReport` function filters the imported car data and maps each entry through the `formatCar` helper, producing a multi-line output that is inserted into the DOM via `textContent`.

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