Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
Yylzami40
Last edited Dec 3, 2019
Created on Dec 3, 2019
Forked from Cars Report

This example renders a simple bar chart of five car prices using D3 v5’s `select` and data-join pattern. Each rectangle’s height corresponds to a price value from the embedded `cars` JSON array, while the x position is computed from the index. The SVG is appended directly to the body, with `rect` elements styled via a CSS rule that sets a steelblue fill. No axes or labels are included, focusing solely on the raw geometric encoding of the data.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed