Cars Scatter Plot
✓ Published0🌍 Public
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 descriptionAn example including some commonly used features of SVG.
MIT Licensed