Skip to content

Styling data

Tooltips

Columns shown when the mouse is over a feature.

Quick reference

Utility Does Example
tooltip-[<col>,<col>] Columns shown when hovering tooltip-[name]
tooltip-[name,pop]
tooltip-['a,b',pop]
kh.map(states, "basemap-paper fill-[density] ramp-blues stroke-white tooltip-[name,pop,density]")

Numbers show thousands separators. Quote a column with a comma in its name: tooltip-['a,b',pop].