Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example visualizes the relationship between miles per gallon and horsepower across automobile models, with each point labeled by vehicle name via tooltips. It uses the Vega-Lite API to declaratively encode the scatterplot’s x- and y-axes with quantitative scales, while relying on D3’s CSV loader to fetch remote data. The visualization is rendered as SVG through Vega and Vega-Lite, with custom axis styling and a dark color scheme for readability. Vega Tooltip handles interactive hover details, and the chart auto-fits to the full browser window.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed