Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Viewing a saved revision (read-only)

1e5718c267e24b75b9f5baea5c34ed38

Cars Scatter Plot

0 stars1🌍 Public
Nntds12
Last edited Mar 23, 2020
Created on Mar 22, 2020
Forked from Scatter Plot

This scatter plot displays the relationship between horsepower and weight for a dataset of cars, with each circle representing a vehicle. The visualization uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` APIs to construct axes with gridlines, while SVG circles are positioned using the scaled x and y values. Data is loaded asynchronously from a CSV file via `d3.csv`, and styling is applied through external CSS for tick text, axis labels, and the semi-transparent red circles.

AI-generated description