Fork of Vega-Lite API Template
✓ Published0🌍 Public
This visualization displays the relationship between engine displacement and horsepower for various automobile models, with each point representing a car and its name revealed on hover. Built with the Vega-Lite API, it uses a scatter plot with semi-transparent, filled points and no stroke. The code registers Vega and Vega-Lite, loads data from a CSV file via `d3.csv`, and employs a `vl.markPoint` with quantitative X and Y encodings. The visualization automatically sizes to fit the browser window and incorporates a custom dark-themed configuration for axes and labels.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed