Fork of Vega-Lite API Template
This scatter plot visualizes the relationship between engine displacement, acceleration, and weight for various car models, with color encoding for cylinder count. The visualization is built using the Vega-Lite API, a high-level grammar for declarative graphics, which is registered with the underlying Vega and Vega-Lite rendering engines. Data originates from the UCI Machine Learning Repository's Auto MPG dataset, loaded via d3's csv function. The chart renders as an SVG, and includes interactive tooltips via the Vega-Tooltip library, with custom styling applied through a configuration object.
AI-generated descriptionA visualization constructed using the vega-lite-api.
The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.