🌍 Public
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 visualization maps horsepower to the x-axis and weight to the y-axis, with red semi-transparent circles representing each car. Built with D3 v5, the code uses `csv()` to load the data, `scaleLinear()` for both axes, and `axisBottom()` and `axisLeft()` for the grid lines and labels. The rendering is done in SVG, with axis lines removed using `.remove()` and explicit text elements for the chart title and axis labels.
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.