Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
Llperezlacera
Last edited Jan 30, 2019
Created on Jan 30, 2019
Forked from Cars Scatter Plot

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 description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

MIT Licensed

Similar vizzes