Fork of Vega-Lite API Template
✓ Published1🌍 Public
This visualization explores the relationship between a car’s country of origin, its horsepower, weight, and miles per gallon, using a bubble chart built with the vega-lite-api. Each circle’s x-axis position encodes origin, y-axis horsepower, color encodes weight, and size encodes mpg, with tooltips revealing the car’s name. The code loads auto-mpg data via d3.csv, applies custom axis and label styling, and renders the SVG using vega-lite, vega, and a vega-tooltip handler.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed