The data-driven approach of the Zohran Mamdani campaign should be a model for others.