Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Car Report

Public visualization

Car Report

0 stars1🌍 Public
RRamziCharradi
Last edited Nov 28, 2019
Created on Nov 28, 2019
Forked from Hello VizHub

This example demonstrates a simple text-based car report that displays car details after a simulated data-loading delay. The page initially shows a “Loading...” message, then populates a `<pre>` element with formatted car listings. The code imports and uses D3’s `select` method to update the DOM, while custom modules `getCars.js`, `generateReport.js`, and `formatCar.js` handle data retrieval, filtering cars under a price threshold, and formatting each entry. Data is embedded as JSON and resolved asynchronously through a Promise.

AI-generated description

An example showing a simple Car report.

Comments

Sign in to join the discussion.

MIT Licensed