Skip to main content
100%

Vega-Lite API Scatter Plot

✓ Published0🌍 Public
AAdnan
Last edited May 21, 2023
Created on May 21, 2023

This scatter plot visualizes the relationship between vehicle weight and horsepower for a dataset of automobiles, with points colored by country of origin. The visualization is built using the Vega-Lite API, which is registered with Vega and Vega-Lite to render SVG graphics. Data is loaded via D3’s `csv` function from a remote Gist, and tooltips are handled by Vega-Tooltip to display car names on hover. The chart’s appearance is customized through a configuration object that styles axis labels and titles.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes