Fork of Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot displays the relationship between horsepower and weight for cars in the Auto MPG dataset from the UCI Machine Learning Repository. Each red, semi-transparent circle represents a car, with positions determined by d3.scaleLinear scales mapping the data fields to the SVG canvas. The code uses d3.csv to load the dataset, then d3.axisLeft and d3.axisBottom to render labeled axes with gridlines, along with custom text elements for axis titles and a chart heading.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed