Electronic Transitions in Transition Metal Compounds at High Pressure