For your heartbeat diversity plot