Points#
This notebook is under construction; please see the pipeline and nyc_taxi notebooks for extensive examples of working with points. For now, this section only includes information about spatially indexed datasets.
Spatial indexing#
In most cases, Datashader must iterate through your entire dataset to render any plot, because it cannot assume the datapoints have been sorted in any particular order. Thus, the aggregation performance is dependent on the number of datapoints in your entire dataframe, not just those in the current viewport (x and y range). If you have a large dataset covering a wide area and you want to support fast local operations (e.g. if you have data at a global level but analysis is typically done in small local regions), you may want to use spatialpandas, which is designed to work with Datashader and supports spatial indexing using Hilbert curves. Please see the spatialpandas Overview notebook.