🌍 Public
Viewing a saved revision (read-only)
4420081229504f9d8a958bb2449ac1dd
v1_Fork of Vega-Lite API Template
This visualization displays automobile data as a scatter plot, mapping engine displacement on the x-axis against horsepower on the y-axis, with points colored by model year and sized according to vehicle weight. The chart uses the Vega-Lite API to declaratively encode these fields, with D3’s CSV loader fetching the auto-mpg dataset from a GitHub gist. Custom axis and label styling in the configuration enhance readability, while tooltips reveal each car’s name. The visualization renders as an interactive SVG, automatically sizing to fill the browser window.
AI-generated descriptionA visualization constructed using the vega-lite-api.