Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
Hhamza.miftah@gmail.com
Last edited Jul 13, 2022
Created on Jul 13, 2022
Forked from Scatter Plot

This scatter plot shows the relationship between horsepower and weight for cars, with each red circle representing a vehicle. The code loads the auto-mpg dataset via `d3.csv` and uses `d3.scaleLinear`, `d3.extent`, `d3.axisBottom`, `d3.axisLeft`, and `d3.select` from D3 v5 to render an SVG chart. Axis labels and a title are added as text elements, while circles are drawn with an opacity of 0.3. Data values are parsed to numbers before rendering.

AI-generated description

Thi scatter plot shows data about cars

MIT Licensed

Similar vizzes