Skip to main content
100%

Linear regression with some fun interaction

✓ Published0🌍 Public
Sseanlucano
Last edited Jan 4, 2021
Created on Jan 3, 2021
Forked from Loadind Data

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 description

Adding and removing data from a scatter plot and regression line with clicks.

MIT Licensed

Similar vizzes