Vega-Lite API Scatter Plot
✓ Published0🌍 Public
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 descriptionA visualization constructed using the vega-lite-api.
MIT Licensed