Maps

Create beautiful maps just by adding an interactive basemap layer to your plot: geom_livemap().

Proportional Symbol Map

https://datalore.jetbrains.com/view/notebook/NCimfm45sYdFyh0JosywnO
ggplot(data) + geom_livemap(aes(..), symbol='point')
or
ggplot(data) + geom_livemap() + geom_point(aes(..))

Choropleth Map

https://www.kaggle.com/alshan/covid-19-in-india-eda-and-spatial-visualization
ggplot(data) + geom_livemap() + geom_polygon(aes(..))

Combine Layers on Map ggplot2 Style

The following ggplot2 geometries can be used with interactive maps:

layers_primitives-icon Primitives

point, path, tiles, polygon, map, horizontal line, vertical line, rectangle, segment, text.

layers_contours-icon Contours

contour, filled contour.

layers_bivariate-icon Bivariate Distribution

heatmap of 2d bin counts, 2d density, filled 2d density.

quickstart-icon Quickstart

Quickstart guide to maps.

Use a Basemap That is Right for You Creative Commons License

Use quality Lets-Plot vector basemaps or choose among many raster map tiles available through 3rd party providers.

Learn more: Configuring Basemap Tiles for Interactive Maps.

https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL
https://datalore.jetbrains.com/view/notebook/05NSsbcsOYZMBN9n4JfKzL

PyCharm and DataSpell

Create maps in PyCharm or DataSpell with the help of Lets-Plot in SciView plugin.

../_images/pycharm_map_fr_low_65.gif

GeoPandas Shapes

GeoPandas GeoDataFrame is supported by the following geometry layers: polygon, map, point, text, path, rect.

Learn more: GeoPandas Support.

Examples

Key Features

../_images/ggplot2-like-api.svg

ggplot2-like API

A bridge between R (ggplot2) and Python Data visualization.

../_images/graphics-grid.svg

Grouping Plots

GGBunch shows a collection of plots on one figure. Each plot in the collection can have an arbitrary location and size.

../_images/platforms.svg

Suitable for Scientist and Developer

Works in computational notebooks (Jupyter, Datalore, Kaggle, Colab, Deepnote) and in JetBrains professional IDEs: PyCharm and DataSpell.

../_images/tooltips.svg

Customizable Tooltips

You can customize the content, values formatting and appearance of tooltip for any geometry layer in your plot. Learn more.

../_images/kotlin.svg

Kotlin API

R, Python, what’s next? Right. Lets-Plot Kotlin API enables data visualization in JVM and Kotlin/JS applications as well as in scientific notebooks like Jupyter and Datalore.

../_images/formatting.svg

Formatting

Lets-Plot supports formatting of numeric and date-time values in tooltips, legends, on the axes and text geometry layer. Learn more.

../_images/geospatial-visualization.svg

Geospatial Visualization

Find spatial objects with the help of our powerful and easy to use Geocoding module. In case you already have GeoDataFrame on hand - plot it straight away.

../_images/sampling.svg

Sampling

Sampling is a special technique of data transformation, which helps to deal with large datasets and overplotting. Learn more.

../_images/interactive-maps.svg

Interactive Maps

Interactive maps allow zooming and panning around your geospatial data with customizable vector or raster basemaps as a backdrop. Learn more.

../_images/export.svg

Export to SVG and HTML

The ggsave() function is an easy way to export plot to a file in SVG or HTML formats.

../_images/offline-mode.svg

‘No Javascript’ and Offline Mode

In the ‘no javascript’ mode Lets-Plot generates plots as bare-bones SVG images. Plots in the notebook with option offline=True will be working without an Internet connection. Learn more.