Skip to contents

Create & render

The functions viz_create and viz_render are essential for initializing a map, visualizing its content, and exporting it. They form the core workflow for creating maps with the geoviz R package.

viz_create()
Create a geoviz map container
viz_render()
Display the map
viz_save()
Save the map

Base Map and Structure

Functions that define the map’s geographic content, including outlines, tiles, and graticules.

viz_path()
Path layer
viz_outline()
Outline layer
viz_graticule()
Graticule layer
viz_rhumbs()
Rhumb lines layer
viz_tissot()
Tissot indicatrices
viz_earth()
Earth raster layer
viz_tile()
Mercator tiles

Map Decorations and Annotations

Functions for styling and annotating the map, such as titles, scale bars, and north arrows.

viz_header()
Map title
viz_footer()
Source of the map
viz_north()
North arrow
viz_scalebar()
Scale bar
viz_text()
Texts and labels
viz_minimap()
Minimap inset layer

Thematic

These functions allow the creation of thematic maps based on statistical data, complete with their associated legends.

viz_prop()
Proportional symbols layer
viz_choro()
Choropleth layer
viz_typo()
Typology layer
viz_propchoro()
Proportional + choropleth combined layer
viz_proptypo()
Proportional + typology combined layer
viz_picto()
Pictogram layer

Thematic (advanced)

These functions allow the creation of advanced thematic maps based on statistical data, complete with their associated legends.

viz_gridprop()
Grid-based proportional symbols layer
viz_gridchoro()
Grid-based choropleth layer
viz_smooth()
Smoothed density (isobands) layer
viz_dotdensity()
Dot density layer

marks

Behind the symbolization functions, there are elementary graphical marks. In geoviz, it is possible to use them directly.

viz_circle()
Circle layer
viz_square()
Square layer
viz_spike()
Spike layer
viz_halfcircle()
Half-circle layer
viz_symbol()
Symbol layer

effects

Since the maps created are in SVG format, it is possible to apply filters to them. These functions offer four different options for doing so.

viz_shadow()
Shadow layer
viz_blur()
Blur filter
viz_clipPath()
ClipPath layer
viz_radialGradient()
Radial gradient
viz_pattern()
Pattern layer
viz_sketch()
Sketch layer

Legends

Functions to design map legends

viz_leg_box()
Add a box legend
viz_leg_typo_vertical()
Add a vertical typology legend
viz_leg_typo_horizontal()
Add a horizontal typology legend
viz_leg_choro_horizontal()
Add a horizontal choropleth legend
viz_leg_choro_vertical()
Add a vertical choropleth legend
viz_leg_gradient_vertical()
Add a vertical gradient legend
viz_leg_spikes()
Add a spike legend
viz_leg_circles()
Add a proportional circles legend
viz_leg_circles_nested()
Add a nested proportional circles legend
viz_leg_squares()
Add a proportional squares legend
viz_leg_squares_nested()
Add a proportional nested squares legend
viz_leg_mushrooms()
Add a proportional half-circles (mushrooms) legend
viz_leg_symbol_vertical()
Add a vertical symbol legend
viz_leg_symbol_horizontal()
Add a symbol horizontal legend