Skip to main content
100%

scatter_plot

✓ Published0🌍 Public
Ggoldpot
Last edited Aug 26, 2021
Created on Aug 26, 2021

This scatter plot visualizes the relationship between engine displacement and horsepower for a collection of automobiles, with each point representing a vehicle model. The visualization is built using the Vega-Lite API, which registers with Vega and Vega-Lite to render the chart as SVG. Data is loaded asynchronously from a CSV file using D3’s `csv` method, and the plot applies a config for custom axis and label styling. Tooltips, enabled via the vega-tooltip handler, display each car’s name on hover, while point opacity and size convey density across the dataset.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes