Skip to main content
100%

Cars Report

✓ Published0🌍 Public
AAuliaAmirullah15
Last edited Apr 11, 2023
Created on Apr 8, 2023
Forked from HTML Cars Report

This example demonstrates a simple text-based report of cars, displaying a list of vehicles under a specified price threshold. It loads a hardcoded JSON array of car data and filters it to show only those priced below 2000 dollars. The report is rendered as plain text within a preformatted HTML element. The code uses a Promise to simulate a two-second data loading delay, then applies a custom filter and formatting logic. It imports local ES6 modules for data fetching and report generation, though it does not use any D3.js functions despite the file structure.

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