I just put a new "unstable" beta version of the CartogramCreator script for ArcGIS online. This version handles contiguous cartograms with zero area as the target size. It adds lots of warnings during the setup. Be sure to review the contents of the text box before creating the cartogram!