Activity-6_Question-3
✓ Published1🌍 Public
This scatter plot visualizes vehicle attributes, displaying horsepower on the x-axis and engine size on the y-axis for a dataset of car models from various years. Each circle represents a vehicle, with its color indicating the model year, differentiated through a legend at the right. The visualization is rendered as an SVG using the D3.js library, specifically utilizing `scaleLinear` for axis scaling and `scaleOrdinal` with the `schemeDark2` palette for color encoding. The code uses D3's `select`, `axisBottom`, and `axisLeft` functions to construct the chart within a gray inner rectangle.
AI-generated descriptionMIT Licensed