title: Text as tooltip, popup or labels in folium choropleth GeoJSON polygons
body: <p>Folium allow to create Markers with tooltip or popup text. I would like to do the same with my GeoJSON polygons.</p>
  <p>My GeoJSON has a property called <code>&quot;name&quot;</code> (<code>feature.properties.name</code> -&gt; let's assume it is the name of each US state). I would like to be able to display this as a label in my choropleth map, in addition to the unemployment rate in each state. I also have the same information in the <code>&quot;State&quot;</code> column from the <code>pandas dataframe</code>.</p>
  <p>Is this possible? I would be happy with a solution that allows this to be a popup, tooltip or a simple text label written on top.</p>
  <pre><code>import pandas as pd
  
  
  url = (
      &quot;https://raw.githubusercontent.com/python-visualization/folium/master/examples/data&quot;
  )
  state_geo = f&quot;{url}/us-states.json&quot;
  state_unemployment = f&quot;{url}/US_Unemployment_Oct2012.csv&quot;
  state_data = pd.read_csv(state_unemployment)
  
  m = folium.Map(location=[48, -102], zoom_start=3)
  
  folium.Choropleth(
      geo_data=state_geo,
      name=&quot;choropleth&quot;,
      data=state_data,
      columns=[&quot;State&quot;, &quot;Unemployment&quot;],
      key_on=&quot;feature.id&quot;,
      fill_color=&quot;YlGn&quot;,
      fill_opacity=0.7,
      line_opacity=0.2,
      legend_name=&quot;Unemployment Rate (%)&quot;,
  ).add_to(m)
  
  folium.LayerControl().add_to(m)
  
  m
  </code></pre>