Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
Ppavan0828
Last edited Jun 25, 2022
Created on Jun 25, 2022
Forked from Cars Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for vintage cars, with each blue semi-transparent circle representing a vehicle. The chart uses D3 v6’s `scaleLinear`, `axisLeft`, and `axisBottom` to construct the axes, which include grid lines and rotated axis labels. Data is loaded from a remote CSV using `d3.csv`, with numeric fields parsed before rendering. The SVG-based visualization applies a margin convention and positions circles via the `xScale` and `yScale` functions.

AI-generated description
MIT Licensed

Similar vizzes