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
Mmorjyooo
Last edited Aug 8, 2020
Created on Aug 8, 2020
Forked from Hello VizHub

This example displays a simple text report of cars, listing year, make, model, and price for each vehicle with a price under $5,000. The cars data is defined as a JSON string within the code and parsed with `JSON.parse`. The processing uses JavaScript's `filter` and `map` methods to select and format each car into a readable line, which is then injected into the page via `textContent`. The interface is built with React, using `react` and `react-dom` libraries, while the final output is rendered in a `<pre>` element.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed