Assignment 3 - Scatter Plot with Linear Regression
✓ Published0🌍 Public
TTony Mai
Last edited Mar 19, 2026
Created on Mar 19, 2026
Forked from Assignment 3 - Interactive Stacked Bar Chart
This interactive visualization uses ECharts and the ecStat regression API to plot hourly step counts against calories burned for individual users from a Fitbit dataset. A dropdown menu switches between 33 users, each rendering a scatter plot with a linear regression line overlaid. The regression transform is applied via `ecStat.transform.regression`, while the chart itself loads data from a CSV file and updates dynamically through a change event listener.
AI-generated descriptionMIT Licensed