We’ve just finished up a beta version of our dashboard tool built with Holoviz. I personally am pretty stoked! It has been a lot of fun to work with and we’re quite pleased with the results. Thanks for a great tool. But, of course, I have a lot of questions.
To start, when you click the legend on the map the entire legend dims and all of the points on the map dim (not just the category you intended to select). I thought one could click a particular category and see it highlighted.
The category and legend are created by the color=‘platform_type’ where platform_type is a column of string values in the dataframe.
surface_points = gv.Points(surface_locs, [‘longitude’, ‘latitude’])
surface_points.opts(… color=‘platform_type’ … show_legend=True, legend_position=‘right’,)
The bokeh documentation (https://docs.bokeh.org/en/latest/docs/user_guide/interaction/legends.html) makes me think maybe this doesn’t work yet, but I’m not sure I understand enough about bokeh to say for sure. If that’s the case I like for the legend to just ignore the click instead of dimming everything which is of no particular use.
You can see what I’m talking about at: https://ferret.pmel.noaa.gov/osmc/dashboard (be patient, it takes a long time to load which is a separate topic).