Skip to main content
100%

Scatter Plot

✓ Published2🌍 Public
WWayne716
Last edited Nov 18, 2020
Created on Nov 18, 2020
Forked from Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for cars from the auto-mpg dataset. Red, semi-transparent circles represent each car, with positioning determined by the d3.scaleLinear scales for both axes, while axis labels and tick marks are generated using d3.axisBottom and d3.axisLeft. The SVG rendering approach is used, with margins and inner dimensions calculated from the viewport, and the chart includes a title and rotated y-axis label. Data is loaded via d3.csv and parsed into numeric values before rendering.

AI-generated description
MIT Licensed

Similar vizzes