Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
IIan Russell
Last edited Feb 16, 2021
Created on Feb 11, 2021
Forked from Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for cars, with each circle representing a vehicle from the auto-mpg dataset. The visualization uses D3 v4's `scaleLinear`, `axisLeft`, and `axisBottom` to construct the axes, while `csv` loads the remote data. SVG circles are rendered with a steelblue fill and partial opacity, and grid lines are generated through tick sizing. Axis labels and a title are added using SVG text elements, with the chart drawn inside a margin-based layout.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes