How to depict boundaries other than states/cities/county on a USA heatmap

How to depict boundaries other than states/cities/county on a USA heatmap

We have a tutorial here: https://plot.ly/python/county-choropleth/

Unfortunately, I don’t think we made a JS version of that one yet.

Thanks @etienne! I took a look at it. However,
My requirement is to depict a customized boundary - depicting 12 Federal District in US.