Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 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.

MIT Licensed

Similar vizzes