Skip to main content
100%

Dv2_ScatterPlot

✓ Published0🌍 Public
NNagateja99
Last edited Jul 22, 2023
Created on Jul 22, 2023

This scatter plot visualizes the relationship between miles per gallon and horsepower for cars in the Auto MPG dataset from the UCI Machine Learning Repository. Each point represents a vehicle, colored by its origin and sized by weight, with tooltips showing the car’s name. The visualization uses the vega-lite-api library to build the chart, registers vega and vega-lite for rendering, and loads data via d3.csv. The chart fills the browser window with a custom config for axes and label styling.

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