Activity origin and catalyst design principles for electrocatalytic hydrogen evolution on heteroatom-doped graphene