Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot displays the relationship between horsepower and weight for cars from the auto-mpg dataset, with each circle representing a vehicle. The visualization uses D3 v5 with SVG rendering, employing `d3.scaleLinear` for both axes, `d3.axisBottom` and `d3.axisLeft` for ticks, and semi-transparent orange circles. A dropdown menu, built with a custom `dropdownMenu` function, appears at the top. The code loads data via `d3.csv` and includes margin conventions, axis labels, and a title.
AI-generated descriptionMIT Licensed