Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
SSarah Elkeurti
Last edited Apr 6, 2022
Created on Apr 6, 2022

This example visualizes the relationship between engine displacement and horsepower for a set of automobiles, with tooltips revealing the vehicle name for each point. The scatter plot is constructed using the Vega-Lite API, which is registered with Vega and Vega-Lite, and rendered as SVG. Data is loaded from a CSV file using D3’s `csv` function, while the visualization’s appearance is customized through a configuration object that adjusts axis styles and font sizes. The chart fills the entire viewport and uses semi-transparent points to reveal overlapping data.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes