HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

datashader_cli — Quick visualization of large datasets using CLI based on datashader. More information: <https://gith

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlargedatashader_cliquickclidatasetsusingvisualization

Problem

How to use the datashader_cli command: Quick visualization of large datasets using CLI based on datashader. More information: <https://github.com/wybert/datashader-cli>.

Solution

datashader_cli — Quick visualization of large datasets using CLI based on datashader. More information: <https://github.com/wybert/datashader-cli>.

Create a shaded scatter plot of points and save it to a PNG file and set the background color:
datashader_cli points {{path/to/input.parquet}} --x {{pickup_x}} --y {{pickup_y}} {{path/to/output.png}} --background {{black|white|#rrggbb}}


Visualize the geospatial data (supports Geoparquet, shapefile, geojson, geopackage, etc.):
datashader_cli points {{path/to/input_data.geo.parquet}} {{path/to/output_data.png}} --geo true


Use matplotlib to render the image:
datashader_cli points {{path/to/input_data.geo.parquet}} {{path/to/output_data.png}} --geo {{true}} --matplotlib true

Code Snippets

Create a shaded scatter plot of points and save it to a PNG file and set the background color

datashader_cli points {{path/to/input.parquet}} --x {{pickup_x}} --y {{pickup_y}} {{path/to/output.png}} --background {{black|white|#rrggbb}}

Visualize the geospatial data (supports Geoparquet, shapefile, geojson, geopackage, etc.)

datashader_cli points {{path/to/input_data.geo.parquet}} {{path/to/output_data.png}} --geo true

Use matplotlib to render the image

datashader_cli points {{path/to/input_data.geo.parquet}} {{path/to/output_data.png}} --geo {{true}} --matplotlib true

Context

tldr-pages: common/datashader_cli

Revisions (0)

No revisions yet.