Scatter Plot
✓ Published0🌍 Public
This scatter plot compares car weight and acceleration using data from the auto-mpg dataset. The visualization displays each car as a semi-transparent circle, with weight on the x-axis and acceleration on the y-axis using d3.scaleLinear for both scales. Axes are generated with d3.axisLeft and d3.axisBottom, including custom tick styling and labels. The code uses d3.csv to load data, d3.extent for domain calculation, and renders the chart as SVG with margins defining the inner plotting area.
AI-generated descriptionMIT Licensed