Charts in Nuxt with ECharts: Visualizing My Coding Journey
Charts in Nuxt with ECharts: Visualizing My Coding Journey Have you ever wondered how much time you actually spend coding? Or which languages dominate your workflow? For my latest portfolio update, I didn’t just want to claim I’m active—I wanted to prove it. The solution: A seamless integration of WakaTime data, visualized through the power of Apache ECharts in a Nuxt 3 environment. Why ECharts? While there are many charting libraries (Chart.js, D3.js, etc.), ECharts won me over for several reasons: High Performance: It handles large datasets with ease. Declarative Configuration: You describe the “what,” not the “how.” Nuxt Ecosystem: Thanks to the nuxt-echarts module, it integrates perfectly with SSR and hydration. The Architecture: From API to Pixels The workflow behind my portfolio looks like this: Data Source: WakaTime tracks my coding hours directly in VS Code. Server-Side: I use a Nuxt Server Route ( /server/api/wakatime.ts ) to fetch data secur...