Skip to main content
100%

Fork of Cars Scatter Plot

✓ Published0🌍 Public
TTchea JiaWei
Last edited Jul 6, 2021
Created on Jul 6, 2021
Forked from Cars Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG dataset. Red semi-transparent circles mark each vehicle, with axes labeled accordingly. The visualization uses D3 v5 with d3.csv, d3.scaleLinear, d3.extent, d3.axisBottom, and d3.axisLeft to map the data, render SVG circles, and draw gridlines and labels. The code imports specific functions from D3 via ES modules and formats the chart with custom margins, tick styling, and a title.

AI-generated description

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

MIT Licensed

Similar vizzes