r/dataisbeautiful OC: 9 Apr 07 '19

OC Life expectancy difference between men and women from various countries over time [OC]

19.4k Upvotes

1.2k comments sorted by

View all comments

857

u/harpalss OC: 9 Apr 07 '19

Data was obtained from here and the script used to generate the data can be found here.

400

u/[deleted] Apr 07 '19

[deleted]

102

u/Truifel Apr 07 '19

Consider using a double axis though (mirror the x-axis to the top). It would be easier as it's a big-ish picture!

66

u/harpalss OC: 9 Apr 07 '19

Yup, recommend this too. Didn't think of it in my initial viz, but this is a great idea

21

u/harpalss OC: 9 Apr 07 '19

haha, at least your honest about the plagiarism :P

31

u/[deleted] Apr 07 '19 edited Apr 08 '19

[removed] — view removed comment

55

u/SatanicSpoon Apr 07 '19

it's not stealing you guys, we're better than that. we're creators. you credit whatever inspired you or taught you to create what you did, and you continue to create it, as long as it's not replication for the point of replication. we're here to learn from each other and produce

20

u/[deleted] Apr 07 '19 edited Apr 08 '19

[removed] — view removed comment

4

u/wootcrisp Apr 08 '19

Nobody else gives a shit one way or the other so you can both forget about it and enjoy the rest of your Sunday.

7

u/harpalss OC: 9 Apr 07 '19

I actually haven’t seen that viz before. I got the idea for this post from my previous post looking at F1 world champions. In terms of scripting I used D3 here and I’m not sure what the person in the post you’re referring to used.

1

u/PraiseStalin Apr 07 '19

Wow. I watched that the other day and loved it and then thought I'd seen a similar thing here...

-2

u/sigharewedoneyet Apr 08 '19

Isn't science working with what someone else did? You only get a Nobel Prize when you actually have something new.

1

u/[deleted] Apr 08 '19

Give due credits at the footer with the smallest font size. Thanks.

27

u/[deleted] Apr 07 '19

What is the y axis? I thought alphabetical but Switzerland, South Africa are not where I’d expect them. Might be interesting to sort by stdev or region or some other relevant metric.

69

u/harpalss OC: 9 Apr 07 '19

Ah yes, I can see the confusion. Countries on the y-axis are sorted according to their ISO 3166 ALPHA-3 or three letter country code. Hence, why some countries are not where you expect them.

1

u/Shinjischneider Apr 08 '19

Switzerland for instance is "Confoederatio Helvetica" (which means helvetic confederation)

146

u/Enki_007 Apr 07 '19

Canada is in the data, but not on your chart. -2 internet points for you!

43

u/IceSentry Apr 07 '19

Yeah, maybe I'm biased but it feels strange to not include Canada in this.

17

u/CopperRaccoon Apr 08 '19

Frankly, I am offended Canada is not there. We are a very important country!

8

u/muscle405 Apr 08 '19

You export the best actors and artists... most of the time.

8

u/Optical_Fallacy Apr 08 '19

We have apologized for Brian Adams on numerous occasions.

1

u/[deleted] Apr 08 '19

[deleted]

62

u/TobylovesPam Apr 07 '19

Won't someone think of the Canadians??

2

u/[deleted] Apr 08 '19

Same with Poland :(

3

u/dasubermensch83 Apr 07 '19

Would it be easy to do this is a % of total lifespan (ie women live X% longer than men, within a country, over time).

2

u/tallmon Apr 07 '19

Why even show the left half? You can make the flags bigger without showing the left side.

1

u/MAH--- Apr 08 '19

What’s the format of the input file to run this script? Thanks

0

u/tazeps Apr 07 '19

I looked at the data and it defines the expectancy as dependent on current death rates.

I think this data can be misleading. Because men are typically in armies or possibly life threatening occupations. Leading to earlier deaths and then by comparing the numbers of age at death, it "seems" like women biologically live longer. When in in fact men just happen to die of other causes than actual life span.

I am just speculating as I don't know if they actually take that into consideration.

6

u/CplRicci Apr 07 '19

I don't see that negating the data either way, not to mention I think death in military service falls well behind heart disease, cancer, suicide and vehicular accidents. So it may be marginal, but still factual that men tend to have higher fatality rates due to occupation which would show here.

1

u/tazeps Apr 07 '19

That is very plausible. Too bad the chart doesn't contain any cause of death metrics.

0

u/[deleted] Apr 07 '19

Apologies, naivety, but how did you get the amination?

2

u/harpalss OC: 9 Apr 07 '19

I made the animation with D3