Skip to main content
100%

Scatter Plot

✓ Published0🌍 Public
DDhaval Potdar
Last edited Dec 5, 2019
Created on Dec 5, 2019
Forked from Scatter Plot

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 description
MIT Licensed

Similar vizzes