Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Aalbatross97
Last edited Mar 27, 2021
Created on Mar 27, 2021
Forked from D3 Starter

This example demonstrates a basic D3 version 6 setup with a static SVG scene containing a green circle, rectangle, and a polyline path, accompanied by a text report that lists cars priced above $2,000. The visualization shows how D3 can structure SVG elements while also illustrating asynchronous data loading. The code uses the native `fetch`-like pattern through a custom `getCars()` promise, which resolves after a two-second delay, and then applies array filtering and mapping to format the car data into readable strings. The SVG rendering is done directly with hardcoded shapes rather than data-driven joins.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes