你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/485285-last-fm-original-tag-chart,源站連結 點此以跳轉。
Restores the "subway map" chart on new Last.fm report pages
This userscript runs on Last.fm report pages dated 2023 and newer and restores the "subway map" or "noodle" tag timeline chart for weekly, monthly, and yearly reports. As of version 1.9, it also lets you change the colors of the "stream graph" or "wave" chart. It does not run on the bright legacy pages (pre- 2024) since these still display the original chart.*
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.
*As of January 2025, pre-2024 pages no longer display a Tag Timeline chart. If this turns out to be a permanent change I'll consider also modifying those pages. There is also an issue with content overlapping on the 2023 yearly chart, a unique page. If that doesn't get fixed officially I'll look into it.