Skip to main content
100%

d3 Starter cars scatter plot

✓ Published3🌍 Public
GgitSushi
Last edited Apr 21, 2020
Created on Apr 21, 2020

This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG dataset. Each red, semi-transparent circle represents a car, positioned by its horsepower on the x-axis and weight on the y-axis. The visualization uses d3.scaleLinear with explicit margins and axes, rendered as SVG. Axis labels and a title are added using d3.axisBottom and d3.axisLeft. Data is loaded as CSV and parsed with D3’s csv method.

AI-generated description

data visualisation with D3.js : stopped at 04:34:37

From freeCodeCamp tutorial, on youtube FCC channel, by Curran Kelleher.

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

MIT Licensed

Similar vizzes