Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
Bben-chin-43
Last edited May 27, 2020
Created on May 27, 2020
Forked from Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository, revealing a positive correlation between the two variables. Using D3 v5, the chart employs `scaleLinear` with `extent` to map data values to pixel coordinates, and `axisBottom` and `axisLeft` to render labeled axes with grid lines. Circles are appended to an SVG element with red fill and opacity, and CSV data is loaded asynchronously via `d3.csv`, with numeric fields parsed before rendering.

AI-generated description

This scatter chart shows data from cars UCI Machine Learning Repository

MIT Licensed

Similar vizzes