Skip to main content
100%

Practice4 car scatter plot

✓ Published6🌍 Public
Hhossaphul
Last edited Mar 10, 2023
Created on Mar 10, 2023

This scatter plot displays the relationship between horsepower and weight for 392 cars from the 1970s, with each red, semi-transparent circle representing a vehicle. The visualization uses D3 v5's `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes, while `csv` loads the data from a local CSV file containing attributes like mpg, cylinders, and origin. SVG circles are positioned using the computed scales, with gridlines and axis labels rendered through the D3 axis API.

AI-generated description
MIT Licensed

Similar vizzes