Q1. Reusable D3 Scatter Plot
✓ Published0🌍 Public
This interactive scatter plot visualizes car sales data, showing the relationship between price and various numerical attributes. The visualization cycles through three different x-axis variables—Horsepower, Mileage, and Year—every two seconds, keeping price on the y-axis. Built with D3.js (v6.7.0), the reusable `scatterPlot` module creates an SVG chart with animated transitions, axes, and a grid. Data is loaded from a CSV file using `d3.csv` and displayed as circles with a consistent fill color, with detected numeric columns automatically selected for the axes.
AI-generated descriptionMIT Licensed