Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Fork of Vega-Lite API Template

0 stars0🌍 Public
Vvedant2003
Last edited Jun 6, 2023
Created on Jun 6, 2023

This example visualizes the relationship between engine displacement and horsepower across a sample of automobiles, with tooltips revealing the car model name for each point. It uses the Vega-Lite API to define a filled line mark with opacity, and renders the visualization as an SVG via the vega, vega-lite, and vega-lite-api libraries. The data is loaded asynchronously from a CSV file using d3.csv, and the chart is automatically sized to fit the browser window. The appearance is customized through a config object that adjusts axis and label styling.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed