Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
Ssaifsre
Last edited Jan 29, 2020
Created on Jan 29, 2020
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 circle representing a vehicle and positioned using linear scales. It renders as an SVG using D3 v5, employing `select`, `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load data, map values, and draw axes with tick marks. The code sets up custom margins, removes default axis domains, and adds rotated axis labels and a title, while styling circles with red fill at reduced opacity via CSS.

AI-generated description

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

MIT Licensed

Similar vizzes