Skip to main content
100%

Compare to a BMW

✓ Published0🌍 Public
BBrian Olczak
Last edited Feb 19, 2021
Created on Feb 19, 2021

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 description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes