Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
EEugenio2192
Last edited Jul 4, 2021
Created on Jul 4, 2021

This example visualizes the relationship between vehicle attributes from the auto-mpg dataset, plotting weight against horsepower while using the size and color of circles to encode miles per gallon and country of origin. The visualization is constructed using the Vega-Lite API, which builds a declarative specification rendered through D3 and Vega-Lite libraries. It draws scatterplot circles with custom styling, reads CSV data asynchronously via D3’s csv loader, and includes interactive tooltips that display car names when hovered.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes