Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

b71a727eed954623b8ec2df20337b64e

Cars Report

0 stars0🌍 Public
IIyke2909
Last edited Oct 22, 2020
Created on Oct 19, 2020
Forked from Hello VizHub

This example demonstrates a simple asynchronous data-loading and text-report workflow. It fetches a hardcoded JSON array of car objects through a custom `getCars()` promise, filters them by price, and formats the results into a plain-text list. The code uses ES6 modules (`import`/`export`) and relies on D3 only for loading via UNPKG, though no D3 visualization is rendered. The final output is displayed inside a `<pre>` element in the HTML, showing a report of cars under a specified price threshold.

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.