Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars

Public visualization

Cars

0 stars2🌍 Public
JJoachim Klug
Last edited Sep 14, 2020
Created on Sep 14, 2020
Forked from Scatter Plot

This scatterplot displays the relationship between horsepower and weight for cars from the auto-mpg dataset, with each red semi-transparent circle representing a vehicle. The visualization uses d3.csv to load the data, d3.scaleLinear with .nice() for both axes, and d3.axisLeft and d3.axisBottom to render ticks with grid lines. Axis labels and a title are added as SVG text elements, while the chart is drawn using SVG circles within a margin-based layout.

AI-generated description

Axis

Comments

Sign in to join the discussion.

MIT Licensed