Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

1b2d6e70df8f47909f784e6b3aa4a071

Fork of Hello VizHub

0 stars0🌍 Public
OofficialClint
Last edited Feb 3, 2021
Created on Feb 3, 2021
Forked from Hello VizHub

This example demonstrates how to use D3.js to filter and display data from a static array of car objects. The code imports car specifications from a local module, applies a filter to select vehicles priced over $2,000, and formats each entry as a text line showing the car name and price. Using the `select` API from D3 v5, the resulting report is rendered directly into an HTML `<pre>` element, combining data processing with DOM manipulation.

AI-generated description

An example showing the capabilities of VizHub.