Greasy Fork is available in English.

Last.fm Original Tag Chart

Restores the "subway map" chart on new Last.fm report pages

بۇ قوليازمىنى قاچىلاش؟
ئاپتورنىڭ تەۋسىيەلىگەن قوليازمىسى

سىز بەلكىم Last.fm Colored Tags نى ياقتۇرۇشىڭىز مۇمكىن.

بۇ قوليازمىنى قاچىلاش
ئاپتورى
Nathan Blume
بۈگۈن قاچىلانغىنى
3
جەمئىي قاچىلانغىنى
51
باھا نومۇرى
0 0 0
نەشرى
1.7
قۇرۇلغان ۋاقتى
2024-01-20
يېڭىلانغان ۋاقتى
2024-07-05
ئىجازەتنامىسى
MIT
قوللايدىغىنى

Description

This userscript runs on new-style (dark) report pages on Last.fm and restores the old "subway map" chart for weekly, monthly, and yearly reports. It does not run on the older style pages, which currently retain the "subway map" chart.

Technical Details

The chart is built using d3 v4 and a hand-made recreation of the original SVG chart layout. The original charts are made using highcharts, but I was unable to find a way to utilize that engine in the browser. I think d3 was able to reproduce it adequately. It also utilizes jquery, jquery-address, and wait-for-key-elements.

To Do

  • Check touchscreen compatibility