Cars Scatter Plot
✓ Published0🌍 Public
This interactive scatter plot visualizes the relationship between vehicle weight and fuel efficiency (MPG) for a dataset of cars from the UCI Machine Learning Repository. Each red, semi-transparent circle represents a car, with its horizontal position determined by weight and vertical position by MPG, revealing a negative correlation between the two variables. The visualization is built using D3 version 5, employing `scaleLinear` for both axes, `axisLeft` and `axisBottom` for tick marks, and custom SVG text elements for the title and axis labels. Data is loaded from a CSV file and rendered as SVG circles with a fixed radius of 10 pixels.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed