Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars scattaplot!

Public visualization

Viewing a saved revision (read-only)

b2cc978b9fa848cdba128e769034a4cd

Cars scattaplot!

0 stars0🌍 Public
AAndrew Fletcher
Last edited Jan 12, 2020
Created on Jan 12, 2020
Forked from axes and stuff

This scatterplot displays automobile data from the auto-mpg dataset, plotting cylinders on the x-axis against horsepower on the y-axis. Each data point is rendered as a blue SVG circle using D3 v5’s selection and data-join methods. The visualization employs d3.scaleLinear and d3.extent to compute domains, with d3.axisBottom and d3.axisLeft generating gridlines. Axis labels and a title are manually added as SVG text elements, with custom tick formatting via d3.format.

AI-generated description