Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
RRod* Wilhelmy
Last edited Dec 27, 2021
Created on Dec 27, 2021

This bar chart, built with the Vega-Lite API, visualizes the relationship between vehicle weight, horsepower, and fuel efficiency across different origins. Each circle represents a car model, with position encoding weight and horsepower, while color indicates origin and size reflects miles per gallon. The visualization uses the Vega-Lite API’s `markCircle` and encoding channels to generate the SVG directly in the browser. The underlying data is loaded from a CSV file via `d3.csv`, and the tooltip is enabled through the vega-tooltip `Handler`, with basic chart styling customized in the `config` object.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes