Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published2🌍 Public
Kkarl.dalborg@mail.com
Last edited Aug 5, 2025
Created on Aug 5, 2025

This example visualizes the relationship between fuel efficiency (mpg), horsepower, weight, and country of origin for classic automobiles. The data is loaded from a CSV file containing the standard Auto MPG dataset, with each car represented as a semi-transparent circle. The visualization is built using the Vega-Lite API, which wraps Vega and Vega-Lite in a JavaScript API, while the D3 library handles CSV parsing. Interactive tooltips display car names on hover, and the chart is rendered as an SVG, with appearance customized through a configuration object that adjusts axis labels and colors.

AI-generated description
MIT Licensed

Similar vizzes