1
all_neighborhoods_df.hvplot.points('Lon', 'Lat', geo=True, color="gross_rent", 
                               size="sale_price_sqr_foot", frame_height=500, 
                               frame_width=700, title="Neighborhood Map")

When I looked through the documentation it said that having geo=True will bring the map but the result I received is this:

this

The result I should get is something like this:

this

Derek O
  • 16,770
  • 4
  • 24
  • 43

2 Answers2

1

You need to define the tiles parameter in hvplot.points()

The particular style shown in your example is tiles='OSM' (OSM: Open Street Maps)

Different tile options can be found in the HoloViews documentation.

juil
  • 2,408
  • 3
  • 18
  • 18
cmiskovich
  • 11
  • 1
  • 1
    As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community May 28 '22 at 07:13
0

The geo parameter just makes hvplot aware of your intention to display geographic data and as such it will handle projecting the data. You need to define tiles (e g. 'ESRI') to get a basemap (this is shown in the first example of the geographic user guide of the documentation).

MaximeL
  • 391
  • 3
  • 7