Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot With Interactive Filtering

Public visualization

Cars Scatter Plot With Interactive Filtering

0 stars1🌍 Public
Jjons288
Last edited Sep 30, 2018
Created on Sep 30, 2018
Forked from Cars Scatter Plot

This scatter plot visualizes automobile data from the UCI Machine Learning Repository’s Auto MPG dataset, showing horsepower versus weight for individual car models. Each point is colored by the car’s origin using d3.scaleOrdinal with the schemeSpectral palette. The visualization includes an interactive color legend that filters the displayed data points; clicking a legend category dims non-matching points. The implementation uses d3.scaleLinear axes, d3.axisBottom and d3.axisLeft for gridlines and labels, and d3.select to manage SVG elements and event handling.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

Comments

Sign in to join the discussion.

MIT Licensed