Fork of Cars Scatter Plot
✓ Published1🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG dataset. Red semi-transparent circles represent individual cars, revealing the positive correlation between the two variables. The visualization uses D3 v5 with SVG rendering, employing `d3.scaleLinear`, `d3.extent`, `d3.axisBottom`, and `d3.axisLeft` to construct the axes and scales. The code also formats tick labels and adds axis labels and a title within the SVG, with all data loaded asynchronously via `d3.csv`.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed