🌍 Public
Viewing a saved revision (read-only)
5e05c82c282547ffb1700848f6a7f171
Assignment 3 - Race Line Chart
This visualization displays the total minutes asleep per day for the top five users with the highest overall sleep totals from the `sleepDay_merged.csv` dataset. Each user is represented by a distinct line, with end labels identifying the user ID at the right edge of the chart. The code uses the ECharts library, loading data via `fetch` and processing it to compute aggregate totals, filter the top five users, and configure line series with dataset filters and transforms. The chart includes a tooltip ordered by value and a title indicating the metric shown.
AI-generated description