Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Linear regression with some fun interaction

Public visualization

Linear regression with some fun interaction

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed