Map of 2000+ lemmy communities
from Danterious@lemmy.dbzer0.com to fediverse@lemmy.world on 11 Sep 2024 04:06
https://lemmy.dbzer0.com/post/27579423

This is my first try at creating a map of lemmy. I based it on the overlap of commentors that visited certain communities.

I only used communities that were on the top 35 active instances for the past month and limited the comments to go back to a maximum of August 1 2024 (sometimes shorter if I got an invalid response.)

I scaled it so it was based on percentage of comments made by a commentor in that community.

Here is the code for the crawler and data that was used to make the map:

codeberg.org/danterious/Lemmy_map

#fediverse

threaded - newest

PugJesus@lemmy.world on 11 Sep 2024 04:12 next collapse

What do the X and Y Axis represent?

Danterious@lemmy.dbzer0.com on 11 Sep 2024 04:15 collapse

Well I used dimensionality reduction to make it 2D so the axes are how the algorithm chose to compress it.

The original data had each data point as a community and the features as a frequency of a user posting in that community.

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~

threelonmusketeers@sh.itjust.works on 11 Sep 2024 07:24 collapse

I used dimensionality reduction to make it 2D

Huh, interesting. So is the idea to spread the data out as much an possible, while keeping “similar” communities near each other? What was the dimensionality of the original set?

Danterious@lemmy.dbzer0.com on 11 Sep 2024 07:29 collapse

Total communities: 2986

Total users: 21934

So the dimensions were reduced from (2986, 21934) to (2986, 2)

Edit: Also yeah it is using Umap for the algorithm and it does do something pretty similar to what you described.

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~

keepthepace@slrpnk.net on 11 Sep 2024 11:34 collapse

That’s really interesting! It shows which communities share users. I am part of jlai.lu, a french-speaking community that is relatively isolated by also slrpnk.net that seems very spread out!

Would it make sense to compute the standard deviation of each instance’s communities? It would give an idea of which are islands and which are more extended. Not sure if it makes sense to compute it more on 2 dimensions or on the original 21934 though.

Danterious@lemmy.dbzer0.com on 11 Sep 2024 12:10 collapse

Yeah that sounds like a good idea so you can see how connected local communities are. Probably makes more sense to use original dimensions so no extra information is lost.

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~

finitebanjo@lemmy.world on 11 Sep 2024 04:25 next collapse

So more dots means more activity total for that communities users on any community in the top 35?

Wouldn’t a bar graph be sufficient?

Danterious@lemmy.dbzer0.com on 11 Sep 2024 04:29 next collapse

I didn’t measure activity for this map. Each dot represents a community. I only used the communities that were on the top 35 instances (except lemmings.world which it couldn’t grab any comments for.)

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~

finitebanjo@lemmy.world on 11 Sep 2024 04:32 collapse

So number of dots is number of communities, but the data relies on comments to those communities to appear in the set?

Danterious@lemmy.dbzer0.com on 11 Sep 2024 04:34 collapse

Yeah pretty much. I wanted to see communities that had similar people that commented because I thought that would be a good way to see if there were similar kinds of discussions were happening in those communities.

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~

Danterious@lemmy.dbzer0.com on 11 Sep 2024 04:31 collapse

For example most of the red dots to the top right are nsfw communities and it was able to clump like that because the people that comment in those communities tend to comment in the other nsfw communities as well.

edit: left -> right

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~

finitebanjo@lemmy.world on 11 Sep 2024 04:34 collapse

Ah cool, self segregating proximity map. The format makes more sense with this explanation, thank you.

m_f@midwest.social on 11 Sep 2024 04:45 next collapse

What is !steamdeck@lemmy.world doing over with the red dots 🤔

Danterious@lemmy.dbzer0.com on 11 Sep 2024 04:47 next collapse

Either the people in !steamdeck@lemmy.world are pretty horny or its an artifact of the dimensionality reduction and means nothing.

Edit: Actually it could also be that it just didn’t collect enough data on that community and the most recent person was also active in nsfw communities. I was only able to get back 14ish days in the data for lemmy.world. They produce way to many comments and I got kicked out early.

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~

Omniraptor@lemm.ee on 18 Sep 2024 19:04 collapse

Maybe it would be cool to have an interactive version where you could click on any two nodes and it would tell you the actual distance

Danterious@lemmy.dbzer0.com on 18 Sep 2024 21:38 collapse

Long distances actually don’t really mean much it can’t be guaranteed that they actually correlate to much. It is mostly the local groups that are conserved and a bit of the global structure.

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~

cron@feddit.org on 11 Sep 2024 09:01 collapse

This community has only two posts and a few comments. The algorithm has very few information on such tiny communities.

It would probably be useful to only include communities with a minimum amount of interaction to avoid such outliers.

Fizz@lemmy.nz on 11 Sep 2024 04:50 next collapse

Pretty cool graph. It was funny to see the two lemmy.World porn communities in a see of lemmynsfw. I was completely unaware lemmy.World hosted porn.

Spot@startrek.website on 11 Sep 2024 05:00 next collapse

This is really awesome! I saw your post the other day about it and thought it was a great idea. You work quick! I already found a new community I would not have thought to look for otherwise.

It is hard for me to see and manipulate on mobile, but that’s totally on me. So I’ll be back in a bit. I’m sure someone smarter than me may have more helpful input than that if you are looking for feedback!

So I thought I was gonna head to bed, but… guess I can stay up and peruse for a little while…

Thank you!!

otter@lemmy.ca on 11 Sep 2024 06:15 next collapse

Would you be able to take a screenshot of the map and edit that in as the link URL? Nice thumbnails help a post be seen, and it might let people see the map when the site is getting a hug of death 😄

Then just have the website link at the top of the post

edit: It loaded for me, and I see why a screenshot wouldn’t make sense. There’s so much cool detail, thanks for sharing!

Danterious@lemmy.dbzer0.com on 11 Sep 2024 06:22 collapse

I was somehow able to get both a picture and url added and it looks much better. Thx.

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~

[deleted] on 11 Sep 2024 07:05 next collapse

.

cabbage@piefed.social on 11 Sep 2024 08:11 next collapse

Very cool!

Do you be have any idea how tolling scraping these data is for the servers?

If this is something you want to keep working on, maybe it could be combined with a sort of Threadiverse fund raiser: we collectively gather funds to cover the cost of scraping (plus some for supporting the threadiverse, ideally), and once we reach the target you release the map based on the newest data and money is distributed proportionally to the different instances.

Maybe it's a stupid idea, or maybe it would add too much pressure into the equation. But I think it could be fun! :)

Danterious@lemmy.dbzer0.com on 11 Sep 2024 19:48 collapse

I had to try scraping the websites multiple times because of stupid bugs I put in the code beforehand, so I might of put more strain on the instances than I meant too. If I did this again it would hopefully be much less tolling on the servers.

As for the cost of scraping it actually isn’t that hard I just had it running in the background most of the time.

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~

aasatru@kbin.earth on 11 Sep 2024 10:15 next collapse

!dadvice is there right next to !bellyexpansion at [9.6, 38.3]. I guess someone is excited about their wives being pregnant. :)

Blaze@feddit.org on 11 Sep 2024 10:26 next collapse

That’s, great, thanks !

Reposting to !dataisbeautiful@mander.xyz

muntedcrocodile@lemm.ee on 11 Sep 2024 10:51 collapse

The libertarians are right next to the bigtiddygothgf lol

RobotToaster@mander.xyz on 11 Sep 2024 11:14 collapse

Steamdeck is right next to animefeet