Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
PPioustu
Last edited May 27, 2022
Created on May 27, 2022
Forked from Hello VizHub

This example shows a text-based report of car listings filtered by price. It demonstrates asynchronous data loading and ES6 module imports in VizHub. The code uses `getCars()` to return a promise that resolves after two seconds, then applies `generateReport` with a filter and formatting via `formatCar`. D3 is loaded from UNPKG, and local modules handle data parsing and report generation. The output renders as a plain text message in an HTML element.

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.

Comments

Sign in to join the discussion.

MIT Licensed