StatKani - Data visualizations for WaniKani

Quick update, you can now also access the site at statkani.com, although you’ll have to wait a minute or two for it to re-download all your data.

1 Like

Thanks for making this! I love the item visualization!!

1 Like

This hasn’t worked for me for the last few days - I keep getting a client-side exception error

When I go to browser console this is what I got
to load resource: net::ERR_CONNECTION_REFUSED
vitals.vercel-insights.com/v1/vitals:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
framework-2191d16384373197bc0a.js:1 TypeError: Cannot read properties of undefined (reading ‘mc’)
at dashboard-ca154bcdaa3a0de2bb01.js:1:14203
at Array.reduce ()
at ye (dashboard-ca154bcdaa3a0de2bb01.js:1:14173)
at ro (framework-2191d16384373197bc0a.js:1:60216)
at jo (framework-2191d16384373197bc0a.js:1:69783)
at Hu (framework-2191d16384373197bc0a.js:1:113665)
at Pi (framework-2191d16384373197bc0a.js:1:99848)
at xi (framework-2191d16384373197bc0a.js:1:99776)
at _i (framework-2191d16384373197bc0a.js:1:99639)
at vi (framework-2191d16384373197bc0a.js:1:96605)
uu @ framework-2191d16384373197bc0a.js:1
main-d7431fe8ee9bc358dd07.js:1 TypeError: Cannot read properties of undefined (reading ‘mc’)
at dashboard-ca154bcdaa3a0de2bb01.js:1:14203
at Array.reduce ()
at ye (dashboard-ca154bcdaa3a0de2bb01.js:1:14173)
at ro (framework-2191d16384373197bc0a.js:1:60216)
at jo (framework-2191d16384373197bc0a.js:1:69783)
at Hu (framework-2191d16384373197bc0a.js:1:113665)
at Pi (framework-2191d16384373197bc0a.js:1:99848)
at xi (framework-2191d16384373197bc0a.js:1:99776)
at _i (framework-2191d16384373197bc0a.js:1:99639)
at vi (framework-2191d16384373197bc0a.js:1:96605)
le @ main-d7431fe8ee9bc358dd07.js:1
main-d7431fe8ee9bc358dd07.js:1 A client-side exception has occurred, see here for more info: client-side-exception-occurred | Next.js
le @ main-d7431fe8ee9bc358dd07.js:1
vitals.vercel-insights.com/v1/vitals:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
vitals.vercel-insights.com/v1/vitals:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
main-d7431fe8ee9bc358dd07.js:1 POST https://vitals.vercel-insights.com/v1/vitals net::ERR_CONNECTION_REFUSED

API changes - Get All Reviews broke a lot of similar websites and scripts, so that might have been the ultimate cause here. I didn’t check myself, just flagging it for anyone else who looks into this.

(If that’s the case, then the Vercel Insights errors in the console might be a red herring.)

Edit: Never mind, see below.

I feel like it has just been in the last few days - I’m not great at github but it looks like he pushed a minor change thru last week

1 Like

Ah ok – so it was working at one point within the last 26 days but broke more recently? If so then my guess was wrong!

Ah, seems like it was indeed mostly working 3 weeks ago (although the heatmap broke)

I’ve also noticed this error today and submitted a pull request on GitHub to fix it. I hope it gets merged soon, then it should work again for everyone :slight_smile:

1 Like

@whiskeytown, @rkcpi Thanks for bringing this up and filing a pull request! Unfortunately I don’t check these forums very often so I only noticed once the pull request was opened.

I’ve responded to the PR and pushed some code, but I’ll need some help with testing before I can merge it in. Hopefully @rkcpi will see it soon, but if not, anyone who’s done some kana vocabulary reviews should be able to test it as well. More details are available in the pull request!

thanks guys - I did try multiple browsers and operating systems if that’s any help - LOL

2 Likes

I just merged in the fix, it should be working now! :+1:

2 Likes

works great - I really like the graph showing the N5-N1 Kanji and showing me how far I am on each level - a very cool tool - looking forward to stories someday too - gratsi!