Skip to main content
100%

Activity-6_Question-3

✓ Published1🌍 Public
Ccharanshiva769@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from activity 6_Q3

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 description
MIT Licensed

Similar vizzes