Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

95edb3752b724afd90423edbc0ffd3f0

Fork of Fork of Vega-Lite API Template

0 stars0🌍 Public
RRoshan Kumar
Last edited Oct 25, 2021
Created on Oct 25, 2021

This example visualizes the relationship between engine displacement and horsepower for various car models, using a scatter plot of semi-transparent points. The visualization is built with the Vega-Lite API, which is registered with Vega and Vega-Lite libraries to render the chart as SVG. Data is loaded from a CSV file using d3.csv, and the chart dimensions adapt to the window size. Tooltips are enabled via the vega-tooltip handler, and the axis styling is customized through a config object.

AI-generated description

A visualization constructed using the vega-lite-api.