Linear regression with some fun interaction
✓ Published0🌍 Public
A scatter plot displays the relationship between Microsoft and Walmart stock returns, overlaid with a linear regression line and its R-squared value. Users can click the plot background to add new data points, or click existing circles to remove them. The visualization uses D3.js v6 for SVG rendering, d3-regression for calculating the regression line, and loads its dataset from a remote CSV file.
AI-generated descriptionAdding and removing data from a scatter plot and regression line with clicks.
MIT Licensed