dashboard

This notebook contains the code for an interactive dashboard for making Datashader plots from any dataset that has latitude and longitude (geographic) values. Apart from Datashader itself, the code relies on other Python packages from the PyViz project that are each designed to make it simple to:

  • lay out plots and widgets into an app or dashboard, in a notebook or for serving separately ( Panel )
  • build interactive web-based plots without writing JavaScript ( Bokeh )
  • build interactive Bokeh-based plots backed by Datashader, from concise declarations ( HoloViews )
  • express dependencies between parameters and code to build reactive interfaces declaratively ( Param )
  • describe the fields and plotting information needed to plot a dataset, in a text file ( Intake )
In [1]:
import os, colorcet, param as pm, holoviews as hv, panel as pn, datashader as ds
import intake, geoviews.tile_sources as gts
from holoviews.operation.datashader import rasterize, shade, spread
from collections import OrderedDict as odict

hv.extension('bokeh', logo=False)