Viewing a saved revision (read-only)
edfc14f468a34ae88c4dd3062a608e77
This scatter plot shows the relationship between a customer’s annual income (x-axis) and the price of the car they purchased (y-axis), with each point representing an individual sales record. The color of each point encodes the car brand, allowing for comparison of brand positioning across income and price ranges. The visualization is built with React and D3 v7, using a `scaleOrdinal` and `schemeCategory10` for the color scale, and `scaleLinear` for both axes. Data is loaded from a local CSV file (`car_data.csv`) and rendered as circles with a fixed radius and opacity.
AI-generated descriptionScatter Plot – Annual Income vs Car Price
This scatter plot visualizes the relationship between customers’ annual income (X-axis) and the price of the car purchased (Y-axis).
- Each point represents a sales record.
- The color encodes the car brand, allowing comparison across brands.
This chart helps identify whether higher-income customers tend to purchase more expensive cars and how different brands position themselves in the market.