View source: R/plot_funds_points.R
plot_funds_points | R Documentation |
The plot_funds_points
function is designed for visualizing maps of centroids for municipalities using point data. The map colors are determined by the financing amount, and the radius of each point is proportional to the corresponding financing amount.
plot_funds_points(data, var)
data |
Dataset of class 'data.frame' containing the information about the coordinates of municipalities. Data can be retrieved from all the retrieval functions using the |
var |
character. Specify the variable to visualize. |
Return a leaflet
object representing an interactive map of centroids of muicipalities.
Lorena Ricciotti
data(RENDISpoint)
plot_funds_points(RENDISpoint, var = "Finance")
#Plotting the points of each municipality of the Basilicata region using the leaflet function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.