fauwara / MAL-Map

Cluster and visualize relationships between anime on MyAnimeList

Home Page:https://www.malmap.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MAL Map

Cluster and visualize relationships between anime on MyAnimeList.

Description

MAL Map is a web application that visualizes anime relationships on MyAnimeList. Edges are extracted from the reccomendations of users on MAL.

Clustering

The graph is clustered with multi-level modularity clustering, using code by Fabrice Rossi. Some clusters are merged to produce a simpler visualization.

Layout

The map layout is generated by a particle force simulation. At first all of the nodes are represented by a single particle. The simulation is then run for a number of iterations. Each iteration all particles are split into new particles, one for each sub-cluster. Appropriate forces are applied between particles to attract related clusters together. This process results in a visually pleasing layout. The layout process can be seen live here.

Future work

Highlight user watched anime

This feature is waiting for the MAL API to relax its CORS policy.

Manga Map, Goodreads, etc.

It should be reasonably easy to adapt this application to other domains, I may get around to some, feel free to extend this project.

Contributing

Pull requests are welcome! See the github action for build instructions. You need a MAL API key to run the data pipeline.

Acknowledgements

Clustering

Layout

Frontend

Data

About

Cluster and visualize relationships between anime on MyAnimeList

https://www.malmap.net/


Languages

Language:TypeScript 63.2%Language:Svelte 32.4%Language:SCSS 2.6%Language:HTML 1.7%