Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart

Public visualization

Viewing a saved revision (read-only)

4fc819a5fba54d33a6729ad8bd6cd941

Bar chart

0 stars1🌍 Public
AAndrewTsai0406
Last edited Sep 22, 2020
Created on Sep 21, 2020
Forked from HTML Starter

This interactive bar chart displays the horsepower of various car models, with each bar representing a different vehicle from the provided cars.tsv dataset. The visualization uses D3 v6 APIs including `d3.scaleLinear`, `d3.scaleBand`, `d3.axisLeft`, and `d3.axisBottom` to render the chart as scalable vector graphics (SVG). The horizontal bars are sorted by car name on the y-axis, with a teal fill color, and the chart includes a title and axis labels.

AI-generated description

This bar chart shows the difference among vaious cars in terms of their horse power.