Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
IIsabel
Last edited Oct 1, 2018
Created on Oct 1, 2018
Forked from Scatter Plot

This scatter plot displays the relationship between horsepower and weight for a dataset of cars, with each orange, semi-transparent circle representing a single vehicle. The visualization uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes, with gridlines, axis labels, and a title included. Data is loaded as CSV via `d3.csv` from a remote source and rendered as SVG circles positioned using `cx` and `cy` attributes. The code also applies margins and a custom inner plotting area.

AI-generated description

This scatter plot shows data about cars

MIT Licensed

Similar vizzes