skillfed

datashader

Data visualization toolchain based on aggregating into a grid

datashader v0.19.1 411.2K downloads/30d#6,859 on PyPI3,557
Permissive license BSD-3-Clause Active released

What it is and what it does

Datashader is a data rasterization library that transforms large datasets into images through a three-stage pipeline: projection (mapping records to grid bins), aggregation (computing reductions per bin), and transformation (processing aggregates into final images). It's designed to handle datasets too large for traditional plotting libraries by compressing them into smaller aggregate arrays before visualization.

The package works standalone or as a preprocessing layer for plotting libraries, allowing them to work with much larger datasets than they normally could handle. It depends on core scientific Python libraries (numpy, pandas, scipy, numba) for numerical computation and uses xarray for multidimensional data handling. The library supports Python 3.10, 3.11, 3.12, 3.13, and 3.14 and is actively maintained.

Use it for:

  • Visualize large numbers of data points from CSV or database sources without memory overflow or rendering lag.
  • Create density plots and aggregated views from high-resolution geospatial or time-series data.
  • Preprocess massive datasets for use with interactive plotting libraries as a preprocessing stage.
  • Aggregate and render scientific simulation outputs or sensor data streams into interpretable images.
  • Build custom visualization pipelines by composing projection, aggregation, and transformation stages.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Datashader converts large datasets into accurate visual representations by rasterizing data through projection, aggregation, and transformation stages, enabling scalable visualization of millions of records.

Yes. Datashader is production-stable (Development Status 5), actively maintained, has no known vulnerabilities, and solves a real problem—visualizing datasets that would overwhelm traditional plotting tools. The low-friction install and well-established scientific dependencies make it a safe choice for data visualization pipelines at scale.

Install

datashader on PyPI

pip

pip install datashader

uv

uv add datashader

poetry

poetry add datashader

Installing datashader

Before you install

Low friction installation with a pure-Python wheel. Twelve runtime dependencies including numba, numpy, pandas, and scipy are well-maintained scientific libraries. Active maintenance with a release 87 days ago and ongoing repository activity.

License in practice

BSD-3-Clause is permissive; you can use, modify, and distribute datashader with minimal restrictions, provided you include the license notice.

Quickstart

pip install datashader

import datashader as ds
import pandas as pd

df = pd.read_csv('data.csv')
canvas = ds.Canvas()
agg = canvas.points(df, 'x', 'y')
image = ds.transfer_functions.shade(agg)

Verify before relying

  • Specific performance characteristics and dataset size thresholds where datashader provides meaningful advantages.
  • Compatibility and integration patterns with particular plotting libraries when used as a preprocessing stage.

Package facts

License BSD-3-Clause (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 12 — colorcet, multipledispatch, numba, numpy, packaging, pandas, param, pyct, requests, scipy, toolz, xarray
Maintenance actively maintained — 87 days since the last release
Last repo commit
First released
Downloads 411,151/month — #6,859 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: datashader-0.19.1-py3-none-any.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: VisualizationTopic :: Software Development :: Libraries

Tags

large dataset visualizationdata rasterization pipelinebig data image renderingaggregation-based plottingscalable data visualizationgrid-based data binninghigh-performance data imaging
data-visualizationrasterizationbig-data

More Libraries packages