Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

697679b077da4c1290b17a4ce14ff301

Fork of Vega-Lite API Template

0 stars0🌍 Public
SSahaj Singh
Last edited Feb 5, 2022
Created on Feb 5, 2022

This scatter plot visualizes the relationship between engine displacement and horsepower for a collection of automobiles. The visualization uses the Vega-Lite API to generate a chart with customizable point styling, including a semi-transparent fill and a tooltip that reveals the car’s name on hover. It loads data from a CSV file fetched via d3.csv, renders the chart into an SVG using the Vega-Lite renderer, and applies a custom config to adjust axis labels and colors. The plot resizes to fit the browser window using autosize settings.

AI-generated description

A visualization constructed using the vega-lite-api.