Skip to main content
100%

Vega-Lite API Template

✓ Published0🌍 Public
RRohit Krishnan
Last edited Dec 2, 2020
Created on Dec 2, 2020

This visualization displays the relationship between engine displacement and horsepower for a collection of automobiles, with each point representing an individual car model. The data is loaded from a CSV file using the d3 `csv` function and rendered as a scatter plot using the Vega-Lite API. The visualization uses `vl.markPoint` with encoded x and y fields, and includes interactive tooltips showing the car name via the `vega-tooltip` Handler. The plot is configured to fit the browser window using `autosize` and applies custom axis and label styling from the config file.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes