Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Aadbirch
Last edited Jan 18, 2023
Created on Jan 18, 2023
Forked from Hello VizHub

This example demonstrates a simple text-based report of car listings, filtering a hardcoded JSON dataset to display only vehicles priced under $10,000. The visualization shows a formatted list of cars, with each line presenting the year, make, model, and price derived from the local `getCars` module. The code relies on JavaScript ES6 modules, using `import` statements to load D3 via UNPKG and custom functions like `formatCar` and `generateReport`. The final output is rendered as plain text inside a `<pre>` element, demonstrating VizHub’s ability to orchestrate asynchronous data loading and string manipulation without graphical charts.

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