Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
JJoseIGuzman
Last edited Apr 30, 2021
Created on Apr 30, 2021

This visualization displays the relationship between vehicle weight, horsepower, and fuel efficiency across different countries of origin, using a bubble chart where each point represents a car model. The data comes from the auto-mpg.csv dataset, loaded via d3's csv method. Built with the Vega-Lite API, it registers both Vega and Vega-Lite libraries, and constructs the plot using vl.markCircle with encodings for x, y, color, size, and tooltip. The visualization is rendered as an SVG, with custom config styling for axes and guide labels, and includes an interactive tooltip via the vega-tooltip Handler.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes