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)

73150152ec164d02a802774352ac3ec3

Fork of Vega-Lite API Template

0 stars0🌍 Public
KKeyvan Rezaei
Last edited May 19, 2021
Created on May 19, 2021

This scatter plot visualizes the relationship between microwave and office lighting power consumption, using a semi-transparent line mark to reveal density patterns in the data. The visualization is built with the Vega-Lite API, which translates specifications into Vega and renders as SVG. Data is loaded asynchronously from a CSV file using `d3.csv`, with the plot dimensions automatically fitting the browser window. Visual styling for axes and labels is customized through a separate configuration object, and interactive tooltips are enabled via the vega-tooltip handler.

AI-generated description

A visualization constructed using the vega-lite-api.

The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.