🌍 Public
Viewing a saved revision (read-only)
cd7349d01d30403b8a4f979bd3e3ca28
Fork of Vega-Lite API Template
This example visualizes car performance data from the auto-mpg dataset, plotting horsepower against miles per gallon and coloring points by country of origin. The visualization uses the Vega-Lite API to define a scatter plot with circles, where both color and size encode variables, and tooltips display car names. It loads data via d3.csv, configures a dark theme with custom axis styling, and renders the chart as SVG using Vega-Lite’s vega-lite-api library, integrated with vega-tooltip for interactive hover details.
AI-generated descriptionA visualization constructed using the vega-lite-api.