Scatter plot
✓ Published1🌍 Public
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 descriptionMIT Licensed