This tutorial will demonstrate how to create and publish heat maps using Carto. Heat maps delineate areas or hot spots where a physical phenomena is concentrated.
You can download this sample dataset by clicking this link- – and practice along. Our sample dataset contains a shapefile comprising settlements located on the african continent. It was extracted from OSM_world populated places.
1. Log in to Carto account online. We will upload our dataset into Carto by selecting ‘Datasets’ on the Dashboard. In the Datasets page, we choose NEW DATASET.
2. The ‘Connect dataset’ page opens. Select ‘Browse’ button and navigate to the local directory where you saved the sample dataset.
3. Click on ‘CONNECT DATASET’
4. Once the file is uploaded, the DATA VIEW page will open showing the attribute table of the data.
5. Click on the MAP VIEW option and observe that the features are already represented on the base map. Go to the side tab and choose the MAP LAYER WIZARD icon button. A. Scroll along the map options and select HEAT MAP. B. Adjust the radius of the point features from default 35 to 20. C. You can also adjust the resolution down to 8. Carto will automatically create a heat map as seen on the screenshot below.
6. Next we create a simple legend to explain the map. A. Click on the LEGEND icon on the side bar and select the option to create a CUSTOM legend. B) For the demo, we insert our explanation inside the html div container. You may do the same.
7. Next we click on VISUALIZE to create a map out of the layer. We have to create a map in order to publish the HEAT MAP. Simply follow the prompts and the MAP VIEW page will open again.
8. On the new MAP VIEW, click on PUBLISH
9. Select the EMBED option. Copy the embed code to the clipboard.
10. To embed the heat map in a web page, create your HTML wrapper in notepad and insert the copied code into the body.
11. Save as html file and open with a modern browser.
See live map at https://mapsnigeriainitiative.comxa.com/Maps
Thank you for following. Your comments are welcome.