Compare to a BMW
✓ Published0🌍 Public
This visualization compares the fuel efficiency and horsepower of various automobiles, with each car represented as a circle sized by weight and colored by its country of origin. Hovering over a point reveals the car’s name. The chart is built using the Vega-Lite API, a high-level grammar for declarative visualization, which compiles specifications to Vega and renders via SVG. Data is loaded asynchronously from a CSV file using `d3.csv`, and the visualization is configured with custom axis styles and tooltips.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed