created folium map html page

This commit is contained in:
2026-05-17 18:57:15 -07:00
parent 7e46dd8578
commit e7f23a87b2
2 changed files with 60528 additions and 0 deletions

View File

@@ -1028,6 +1028,10 @@
" popup=popup,\n",
" tooltip=f'{cluster_label}; size={cluster_size}',\n",
" ).add_to(m)\n",
" map_out = Path('output/master_data_center_spatial_clusters_map.html')\n",
" map_out.parent.mkdir(exist_ok=True)\n",
" m.save(map_out)\n",
" print('Wrote:', map_out)\n",
" display(m)\n",
"except ImportError:\n",
" print('folium is not installed; skipping interactive map.')\n"