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!

1 Like

and I am back a year later - LOL - I think there’s an issue with the ssl cert on the website because it no longer pulls up - I know python but not JS so I can’t host the github code on my own but I would if I could figure it out :slight_smile:

@whiskeytown Hey, I’m glad to see you’re still using the site. I recently cancelled the card I was using to pay for the domain, and the hosting company revoked the domain after the last payment failed. I’ll try to recover it, but in the meantime https://statkani.vercel.app should still work. Thanks for notifying me! :slight_smile:

My heatmap is also having those same problems. I’m not even sure I am looking at my heatmap. It is waaaay off!

yep that worked - I dunno why - I just like seeing how many days it takes me to complete a level and how many kanji I have done in the various N5-N1 levels - thanks

The API endpoint that I used to implement the heatmap feature was disabled by Wanikani so it’s unfortunately broken for everyone right now. I think the Wanikani Heatmap userscript has a workaround but I’ve not gotten around to implemeting it on Statkani.

1 Like

I was able to get the domain back - statkani.com should now be working again :+1:

1 Like