Data is Beautiful

1149 readers
2 users here now

Be respectful

founded 4 months ago
MODERATORS
26
27
 
 

cross-posted from: https://qoto.org/users/mapto/statuses/113147786737843592

Friends don't let friends...

Quite good list of good practices for basic graph charting
https://github.com/cxli233/FriendsDontLetFriends
@dataisbeautiful

28
 
 
29
 
 
30
 
 
31
32
33
34
 
 

cross-posted from: 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:

https://codeberg.org/danterious/Lemmy_map

35
 
 

My chart shows population density in all urban areas that have over half a million people. "Urban area" basically means the built up area in and around a city, including its suburbs. The chart would be way too busy if it included labels for each city, so instead I opted to group them by the part of the world they are located in. This shows the striking difference in urban density across different parts of the world.

My data source for both population and population density came from Demographia World Urban Areas, 19th Annual: 2023.08_. This is a regularly updated collection of statistics for urban areas that include population and land area. I made this chart using Google Sheets and edited it with Inkscape.

If you're interested in diving deeper into this data, I put together a spreadsheet of the data and a detailed version of the map with city labels (which is still very cluttered). Enjoy!

Source: https://old.reddit.com/r/dataisbeautiful/comments/1fbbuer/population_density_in_900_urban_areas_across_the/

36
 
 

Collected US 2024 tech job postings from Indeed and embedded them with Open AI text embedding large. Reduced dimensionality and clustered via UMAP and HDBSCAN. Topic modeled with Open AI chat API. Visualized with DataMapPlot. Github pages https://hazondata.github.io/ has full interactive map. I also have real-time insights into tech job postings on my site hazon.fyi

https://old.reddit.com/r/dataisbeautiful/comments/1fakvwv/oc_clustering_250k_tech_job_postings_in_2024/

37
 
 
38
 
 
39
40
 
 

"Live link: https://perthirtysix.com/tool/birthday-paradox

I built a sandbox that lets you simulate and understand the birthday paradox and few related problems. The birthday paradox tells us that in a room of 23 people, there are 50/50 odds that 2 people will have the same birthday (assuming a non-leap year and that birthdays are totally random, which they aren’t exactly).

I’ve always found these types of problems really interesting and counterintuitive. The “aha” moment for me was realizing that any two people sharing a birthday satisfies the problem, and at 23 people there are 253 different combinations of pairs between them.

I hope you enjoy messing around with the tool!

Built using Vue and p5.js, with probability formulas adapted from Wikipedia."

Source: https://old.reddit.com/r/dataisbeautiful/comments/1f80chg/oc_i_built_an_interactive_simulation_of_the/

41
42
43
 
 
44
45
 
 

Data source: UN - World Population Prospects 2024

Tools used: Matplotlib

The dataset offers multiple projections/simulations of population growth. In this chart, I'm using the most commonly used projection, which is called "Medium" in the data.

Author: https://old.reddit.com/r/dataisbeautiful/comments/1f4smum/oc_chinas_age_distribution_from_1950_to_2100/

46
 
 

"I created this visualization to track Shohei Ohtani’s pursuit of a 50-50 season—achieving 50 home runs and 50 stolen bases in a single MLB season. Using data from ESPN, I simulated the remainder of his season to estimate the probabilities of reaching the "clubs": 30-30, 40-40, and 50-50.

The 50-50 club refers to a player hitting 50 home runs and stealing 50 bases in a single season, which has never been accomplished in MLB history. It requires a rare combination of power and speed: the 40-40 club (40 HR, 40 SB) had been joined by only five players before this year.

I built a simulation model to project Ohtani’s performance over the remaining games of the season. The model uses his current stats as a baseline and generates a range of possible outcomes based on typical variability in player performance. To stabilize the projection at the beginning of the season, I used a Bayesian prior based on his historical stats. As the season goes on, the prior is given less weight so that the current season's rates start to take over.

Data Source: ESPN

Tools Used: Pandas, NumPy, Matplotlib"

Source: https://old.reddit.com/r/dataisbeautiful/comments/1f4a1pc/oc_visualizing_shohei_ohtanis_chase_for_a_5050/

47
 
 

cross-posted from: https://sh.itjust.works/post/24428192

Stolen from Reddit.

The big drop in the 1970's was supposedly due to a change in the program to de-emphasize outdoor activities. The step down in 2019 was the LDS church cutting ties and starting their own program.

If you consider this as a proportion of the population it's an even bigger drop. In 1970 there were about 4.8M scouts in a population of 205M, so about 2.3% of all Americans were in Boy Scouts. Now it's 1M scouts in a population of 341M, so only 0.3% of Americans are in Boy Scouts.

48
49
 
 

cross-posted from: https://feddit.org/post/2312726

We need taxes for all - also the super-rich.

"Tax the rich" is an official EU petition. The EU Parliament has to deal with it when successful.

7 EU countries must reach the quorum Check yours in the chart and share!

The petition calls for the introduction of a wealth tax on very large fortunes. Sign now

50
 
 

By BoMcCready on Reddit's DataIsBeautiful

view more: ‹ prev next ›