{"version":"1.0","type":"rich","title":"Simple Linear Regression + Scatterplot with D3","description":"This example demonstrates a simple linear regression overlaid on a scatterplot, using D3 v4 with SVG rendering to visualize the relationship between years of experience and salary. The chart employs d3.scaleLinear for both axes and d3.axisBottom/axisLeft for ticks, while the regression calculations and line generation are handled by the Simple-Statistics.js library functions ss.linearRegression and ss.linearRegressionLine. The regression line connects the first and last x-coordinates of the dataset, with the title and explanatory markdown cells providing context for the analysis.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/62acfd0b90c7410ab5c22ad86e651ed3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}