🌍 Public
Fork of Cars Scatter Plot
This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG dataset. The SVG rendering positions red semi-transparent circles for each vehicle, with labeled axes and a title. Using D3 v5, the code employs `scaleLinear` for scaling, `extent` for domains, and `axisBottom`/`axisLeft` with tick marks to build the chart. Data is loaded via `csv` and coerced to numeric values before rendering, with margins and `g` elements managing layout.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed
Comments
Sign in to join the discussion.