Skip to main content
Public

Share visualization

Loading preview…

Cars Report

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Cars Report

0
SSandyWu7179290504
Last edited Sep 30, 2022
Created on Sep 30, 2022
Forked from D3 Starter

This example demonstrates a text-based report of used cars, showing a filtered list of vehicles priced under $2,000 based on a hardcoded JSON dataset. The page initially displays "Loading......" while the app fetches car data asynchronously via a Promise-based `getCars` function with a simulated 2-second delay. It uses modern ES module imports (`import`/`export`) to separate car formatting, report generation, and data retrieval logic, with D3 version 6 referenced in the README. The final report renders as plain text in an HTML `<pre>` element using vanilla JavaScript.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed