Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vehicle information

Public visualization

Viewing a saved revision (read-only)

42d60793359f49599dcd59db7f3b992a

Vehicle information

0 stars0🌍 Public
Kkeynes okiro
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Making A Bar Chart

This example displays a bar chart of fuel consumption for nine vehicles, ranked from highest to lowest miles per gallon. The vehicles are listed on the y-axis, with horizontal bars showing their MPG values. Built with D3 v7, it loads data from a CSV file and uses `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render the chart as SVG. Vehicle names are uppercased and axes are labeled to clarify the data.

AI-generated description