🌍 Public
Viewing a saved revision (read-only)
9f708639a8974ee5b9b057583e93a563
Fork of Vega-Lite API Template
This example displays a scatter plot of automobile displacement against horsepower, with tooltips revealing model names. The visualization is built using the Vega-Lite API, which composes a point mark with quantitative fields and a nominal tooltip encoding. The code loads CSV data from a GitHub gist via D3’s `csv` function, then renders the chart using Vega’s SVG renderer. Dark theme styling and axis configurations are applied through a custom config object to improve readability.
AI-generated descriptionA visualization constructed using the vega-lite-api.