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.