🌍 Public
Viewing a saved revision (read-only)
b94245937aa64e52ae7c67bfe5f5f7cc
Fork of Vega-Lite API Template
This example visualizes automobile data from an auto-mpg CSV file, plotting engine displacement against horsepower with points colored by opacity to reveal density. It uses the Vega-Lite API to construct a scatterplot, with D3’s `csv` loader fetching the data. The chart is rendered into an SVG via Vega’s view, configured with `vl.markPoint`, `vl.x`, and `vl.y` encodings, while a custom config adjusts axis and label styling for readability. Tooltips display car names on hover.
AI-generated descriptionA visualization constructed using the vega-lite-api.