Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Viewing a saved revision (read-only)

ad4c53e1fba34d8b9d26c7d6b884fddc

Cars Scatter Plot

0 stars0🌍 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