🌍 Public
Viewing a saved revision (read-only)
95edb3752b724afd90423edbc0ffd3f0
Fork of Fork of Vega-Lite API Template
This example visualizes the relationship between engine displacement and horsepower for various car models, using a scatter plot of semi-transparent points. The visualization is built with the Vega-Lite API, which is registered with Vega and Vega-Lite libraries to render the chart as SVG. Data is loaded from a CSV file using d3.csv, and the chart dimensions adapt to the window size. Tooltips are enabled via the vega-tooltip handler, and the axis styling is customized through a config object.
AI-generated descriptionA visualization constructed using the vega-lite-api.