Plot: change dataSets to a map and move legends to its key.