Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Auto MPG dataset, with each red circle representing a vehicle. The chart uses linear scales to map both variables, with gridlines and labeled axes for readability. Built with D3 v5, the code employs `scaleLinear`, `axisBottom`, and `axisLeft` to construct the visualization, while SVG circles render the data points. The title and axis labels are added as SVG text elements, and the data is loaded via `csv` from a remote file before being parsed and passed to the rendering function.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed