This post will introduce how to visualize the adoption of innovation (dummy variable) on the map with the use of scatter_mapbox, a mighty tool to realize animation.
Centroid refers to the centre point of an object, a polygon, a city. The coordinate of centroid could be useful for mapping the scatter point by using scatter-mapbox.
This post will focus on how to extract its coordinates by using QGIS.