Skip to main content
100%

Fork of Fork of ECharts

✓ Published0🌍 Public
TTony Mai
Last edited Mar 18, 2026
Created on Mar 18, 2026

This example visualizes cumulative minutes asleep for the top 23 users from a Fitbit sleep dataset, shown as multiple line series over time. Each line represents a user’s running total of sleep minutes, with end labels displaying user IDs and emphasis focusing on individual series on hover. Built with ECharts 5.3.2, the code loads a local CSV via `fetch`, parses rows to aggregate daily sleep records by user, and uses `myChart.setOption` to configure line charts, tooltips, legends, and an animated rendering with a 10-second duration.

AI-generated description
MIT Licensed

Similar vizzes