Skip to main content
100%

Scatter plot

✓ Published1🌍 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
MIT Licensed

Similar vizzes