Skip to main content
100%

10 - cars scatta'plot - dataviz 2018

✓ Published2🌍 Public
Zzach b.
Last edited Nov 23, 2021
Created on Nov 22, 2021

This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG dataset. Each circle represents a car, with opacity to reveal overlapping points. The chart uses d3.csv to load data, d3.scaleLinear for both axes, d3.axisBottom and d3.axisLeft for ticks, and d3.extent to set domains. SVG circles are rendered with d3 selections, while styled axis labels and gridlines are drawn via tickSize and tickPadding. The background and circle styling come from CSS in the accompanying stylesheet.

AI-generated description

datraviz 2018 #10 - cars scatter plot

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

MIT Licensed

Similar vizzes