Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Ddanielscheeper@gmail.com
Last edited Jan 11, 2024
Created on Jan 11, 2024

This visualization presents a scatterplot of automobile data, mapping weight to the x-axis and horsepower to the y-axis, with color encoding for country of origin and point size reflecting miles per gallon. Tooltips display the vehicle name. The code uses the Vega-Lite API, registering vega and vega-lite libraries, and loads CSV data asynchronously via d3.csv from a gist URL. Config settings customize axis and label appearance, while the view is rendered as SVG with fit sizing to the window.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes