Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot

Public visualization

Viewing a saved revision (read-only)

3322e9e046b74783a829c761a1a5beda

Scatter plot

0 stars1🌍 Public
JJason-Manbodh
Last edited May 23, 2020
Created on May 22, 2020
Forked from Scatter plot

This scatter plot shows the relationship between horsepower and weight for cars in the auto-mpg dataset, with each circle representing a vehicle. The data reveals a positive correlation between the two variables, as heavier cars tend to have higher horsepower. The visualization uses D3 v5's `csv` loader to fetch the dataset, `scaleLinear` and `extent` for scaling, and `axisLeft`/`axisBottom` with tick lines to render the axes. SVG circles are positioned using the computed scales, with styling applied through CSS for opacity and fill.

AI-generated description