Skip to main content
100%

Bivariate Cars Scatter Plot

✓ Published2🌍 Public
CCharvi Jain
Last edited Nov 6, 2019
Created on Nov 5, 2019

This scatter plot displays the relationship between a car’s horsepower and its retail price, with each vehicle represented by a semi-transparent red circle. Built with D3 v5, the visualization uses the `scaleLinear` API to map the data domain to pixel coordinates for both axes, and `axisLeft` and `axisBottom` to render the chart’s grid lines and tick labels. The data comes from the UCI Machine Learning Repository's Auto MPG dataset. The code employs `csv` to load the data, converts numeric fields with the unary plus operator, and appends circles to an SVG canvas.

AI-generated description

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

MIT Licensed

Similar vizzes