Systematics in the electronic structure of 3d transition-metal compounds