🌍 Public
Viewing a saved revision (read-only)
777c499d3078461e87a40494efc6e2f9
ScatterPlot-Spotify
This reusable D3 scatter plot displays the relationship between horsepower and miles per gallon for cars from the Vega datasets CSV file. Each circle represents a vehicle, with hover tooltips revealing the car name and exact values. The visualization uses `d3.csv` for data parsing, `d3.scaleLinear` and `d3.axisBottom`/`d3.axisLeft` for axes, and a slider control that dynamically updates the circle radius via the chart factory's getter/setter methods.
AI-generated description