{"version":"1.0","type":"rich","title":"Best Fit Line","description":"An interactive scatter plot displays the relationship between Microsoft and Walmart stock returns. Users click and drag to draw their own estimated regression line onto the chart. A button reveals the actual least squares fit, computed using the `d3-regression` library’s `regressionLinear()` function. Data points render as circles from the CSV file, while the user’s line is drawn with `d3.drag()` pointer events. The SVG visualization uses D3 v6 scales, axes, and `transition`-less direct attribute updates.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/242d5843101045aa8cfad5b5307fc928?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}