Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
HHeidi Stockton
Last edited Apr 22, 2021
Created on Apr 22, 2021

This visualization displays automobile data from the UCI Machine Learning Repository, plotting longitude and latitude coordinates while encoding magnitude type through color and gap distance through circle size. Point opacity is set to 0.5 with a fixed size of 300 pixels, and hovering reveals place names via tooltip. The visualization is constructed programmatically using the Vega-Lite API, which composes specifications through chained method calls. Data loading relies on d3.csv, while rendering uses Vega-Lite’s SVG renderer with custom configuration for axis styling and label fonts. The visualization dynamically fits the browser window dimensions upon load.

AI-generated description

A visualization constructed using the vega-lite-api.

The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.

MIT Licensed

Similar vizzes