Nice work, pretty much confirms Nintendo is king of handhelds. While Sony is dominant in Home consoles, selling about as much as all of its competitors combined.
A total software comparison would be interesting too, but I don't think we have reliable data for that. Sony would definitely close some of the gap due Home consoles having higher attach rate.