Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
BBo Yang
Last edited Jul 21, 2021
Created on Jul 20, 2021
Forked from Scatter Plot

This scatter plot shows the relationship between fuel efficiency (MPG) and engine power (horsepower) for a collection of cars, with each red semi-transparent circle representing a single vehicle. The visualization uses d3.csv to load data from the auto-mpg dataset and d3.scaleLinear with d3.extent to map values to positions, while d3.axisBottom and d3.axisLeft construct the labeled axes. The chart is rendered as an SVG with custom margins, tick formatting, and axis labels using d3.format.

AI-generated description

This Cars Scatter Plot

MIT Licensed

Similar vizzes