Spotify Analytics is a technical deep-dive into the listener's musical identity. It moves beyond standard wrappers by providing a real-time, persistent dashboard that tracks evolution in musical taste.
The core challenge was orchestrating the high-frequency data streams from the Spotify Web API without hitting rate limits. I implemented a custom caching layer and context-based state management to ensure that once data is fetched, the UI remains snappy and responsive.
I built this during a focused push to explore 'Agentic Workflows.' Vesper, my autonomous partner, assisted in optimizing the data engine while I architected the 'Industrial Dark' design language that defines the app's soul.
The result is a high-stiffness analytical tool that bridges the gap between raw API data and meaningful user insight.
Key features
- User Profile Dashboard: View your Spotify profile information with a personalized welcome greeting.
- Listening Statistics: Track your streams, minutes listened, unique artists, and new discoveries.
- Top Artists & Tracks: Explore your most-played music with visual grid layouts.
- Dynamic Genre Breakdown: Visualize your music preferences with a real-time genre distribution engine.
- Monthly Listening Trends: Interactive charts showing how your habits change over time.
- Recently Played: Browse your listening history with full history support.
- Agentic Integration: Built in collaboration with Vesper, an autonomous AI agent.
Architecture
| Frontend | React 19 + Vite for sub-millisecond HMR |
|---|---|
| State | Advanced Context API for cross-component data sync |
| Animations | GSAP + Framer Motion for physical UI response |
| Styling | Pure CSS Variables for radical theme switching |
| API | RESTful Spotify Web API integration with OAuth2 flow |
- react-19
- vite
- spotify-api
- context-api
- framer-motion