Scaling the anomalous Hall effect: A connection between transport and magnetism