Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example shows a scatterplot of automobile data, plotting miles per gallon against horsepower, with tooltips revealing car names. It renders using the Vega-Lite API, which compiles specifications to Vega and renders to SVG. The code loads the auto-mpg dataset via `d3.csv`, configures axis and label styling, and fits the visualization to the window. Custom styling includes removing axis domains and settings for guide labels and titles.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed