Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot Take 2

Public visualization

Scatter Plot Take 2

0 stars2🌍 Public
Bbprokopowicz
Last edited Mar 26, 2020
Created on Mar 26, 2020

This scatter plot displays the relationship between horsepower and weight for cars from the auto-mpg dataset. The visualization uses D3 v5's `select`, `csv`, `scaleLinear`, and `extent` functions to load and scale the data, while `axisBottom` and `axisLeft` render gridlines and labels. Circles are positioned using the scaled x and y values, with styling applied via SVG and CSS. The plot demonstrates a quantitative comparison, showing how these two attributes correlate across the dataset's vehicles.

AI-generated description

D3 course follow along.

Comments

Sign in to join the discussion.

MIT Licensed