Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
SSunny-DV
Last edited Nov 10, 2019
Created on Nov 10, 2019
Forked from Cars Scatter Plot

This scatter plot visualizes the relationship between horsepower and city miles per gallon for a dataset of cars from the UCI Machine Learning Repository. Each vehicle is represented by a symbol whose shape encodes its type (e.g., sedan, SUV) and whose color reflects its retail price, using a quantitative color scale. The plot is rendered as an SVG, with axes labeled and a tooltip area prepared for interaction. The implementation uses D3 v5, specifically `d3.scaleLinear` for axis scaling, `d3.scaleQuantize` for color encoding, and `d3.symbols` for categorical symbol shapes.

AI-generated description

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

MIT Licensed

Similar vizzes