Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

48014ed0abd5474da9a1d7c1c0ef9286

Vega-Lite API Template

0 stars0🌍 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.