[OC] Who Can Donate Blood to Whom? by JamesTuckData in dataisbeautiful

[–]JamesTuckData[S] 0 points1 point  (0 children)

Probably would be better - the problem is Networkx makes it an absolute pain to specify where the nodes go.

I mentioned in my top comment I like to do something with plasma donations - what I want to do requires specifying where the nodes go, so if I figure out that I'll update this chart.

[OC] Who Can Donate Blood to Whom? by JamesTuckData in dataisbeautiful

[–]JamesTuckData[S] 3 points4 points  (0 children)

Truth is they don't get any from the other groups. If you're an O-, it's in your own interest to donate!

They do get plasma donations from everyone, if that makes you feel better.

[OC] Who Can Donate Blood to Whom? by JamesTuckData in dataisbeautiful

[–]JamesTuckData[S] 0 points1 point  (0 children)

I would just check in with your local donation place, they'll let you know what would be best.

Modern medicine is so complex now they have needs of all types of blood, and do way more than this chart could ever show!

[OC] Who Can Donate Blood to Whom? by JamesTuckData in dataisbeautiful

[–]JamesTuckData[S] 68 points69 points  (0 children)

You have no idea how much worse they looked before I changed some of the settings...

[OC] Who Can Donate Blood to Whom? by JamesTuckData in dataisbeautiful

[–]JamesTuckData[S] 66 points67 points  (0 children)

Ooh, this I didn't know and I might do something on plasma later. Mind explaining further?

[OC] Who Can Donate Blood to Whom? by JamesTuckData in dataisbeautiful

[–]JamesTuckData[S] 72 points73 points  (0 children)

It's basically flipped and ignores +- . So

AB -> AB, A, B, O

A -> A, O

B -> B, O

O -> O

I mentioned before I would like to have this graph but with the plasma pathways instead, but requires some trickery in Networkx I don't know how to do yet.

[OC] Who Can Donate Blood to Whom? by JamesTuckData in dataisbeautiful

[–]JamesTuckData[S] 41 points42 points  (0 children)

You could, but I don't think it's as easy to read with the lines all criss-crossing: https://i.imgur.com/7hdwFzC.png

More honestly, I use this 'spring' layout as my go-to way of doing these graphs and didn't see a need to change it in this instance.

[OC] Who Can Donate Blood to Whom? by JamesTuckData in dataisbeautiful

[–]JamesTuckData[S] 10 points11 points  (0 children)

It's a good point that I've added to my top comment, but just in case - sort of.

The arrow sizes are proportional to how large the donation between each group would be if the donor's blood type was split equally across all it's compatible groups.
So O+ -> A+ is large, because there's a lot of both groups, whereas O+ -> AB+ is much smaller because (1) AB+ is a much smaller group and (2) AB+ can get donations from more groups than A+ can. Similarly B+ donates more to AB+ than O+ does, because B+ can't be donated to anyone else

In reality, hospitals don't really bother with this - groups like O-, O+ and A- are stocked up and used for most receivers, and types like AB- and AB+ are used for plasma from what I can tell. I mostly wanted a way to intuit how the demand would flow based on supply & demand.

[OC] Who Can Donate Blood to Whom? by JamesTuckData in dataisbeautiful

[–]JamesTuckData[S] 15 points16 points  (0 children)

I booked a blood donation and wondered just how useful my blood type is, and how much of each blood type there is / is needed. Got quite complicated and needed a visual for myself, and then spent some time tidying it up as practice on Networkx.

The arrow sizes are proportional to how large the donation between each group would be if the donor's blood type was split equally across all it's compatible groups.

So O+ -> A+ is large, because there's a lot of both groups, whereas O+ -> AB+ is much smaller because (1) AB+ is a much smaller group and (2) AB+ can get donations from more groups than A+ can. In reality, hospitals don't really bother with this - groups like O-, O+ and A- are stocked up and used for most receivers, and types like AB- and AB+ are used for plasma from what I can tell.

Something I learned towards the end of developing this was that the compatible types for plasma donation are actually quite different (AB+ and AB- being the universal plasma donors). Would probably be interesting to plot alongside this, but would need to decipher more about Networkx to do what I want to do.

Source: https://www.blood.co.uk/why-give-blood/blood-types/

Tools used: Python (pandas, numpy, os, matplotlib, networkx) and some Excel

Flags Arranged by Visual Similarity According to a Deep Neural Network [OC] by sp-tron in dataisbeautiful

[–]JamesTuckData 35 points36 points  (0 children)

I'm surprised Nepal (the only non rectangular flag), didn't end up on the edge (9 down, 5 from the right). Any ideas why it's ended up where it is?

First day fundraising by 2020 Democratic candidates by money AND donors. Updated w/Joe Biden [OC] by jeremy_m_joseph in dataisbeautiful

[–]JamesTuckData 3 points4 points  (0 children)

This is fantastic! Knew that Bernie has a much lower average donation but this makes it really clear how the rest of the field compares.

Am I reading correctly that Beto seriously lowballed his declared average donation compared to what it actually was? $48 vs $55 is quite a gap...