🌍 Public
Viewing a saved revision (read-only)
74c15e77a1a741c0bce4bc6b6883c846
Assignment 3 - Scatter Plot with Linear Regression
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 description