arm2arm/astroagentassistant/dask-hvplot-datashader-scientific-plots

Claude Code and agent skill by arm2arm/astroagentassistant

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Build scalable scientific plots from large tabular datasets using Dask for processing, hvPlot for plotting, and Datashader for dense large-data rendering.

Install

npx vskill@latest install arm2arm/astroagentassistant/dask-hvplot-datashader-scientific-plots

SKILL.md

The same SKILL.md was published earlier as arm2arm/astroagentassistant/dask-hvplot-datashader-scientific-plots.

Dask + hvPlot + Datashader Scientific Plots

When to Use

Use this skill when a scientific plot must scale beyond comfortable eager pandas/matplotlib workflows, especially for large S3- or TAP-derived tabular datasets.

Procedure

1. Start from a local cached tabular dataset

If the source is S3 or TAP, reduce first and cache locally as Parquet.

2. Load with Dask when the working set is large
python
import dask.dataframe as dd
import hvplot.dask # noqa
ddf = dd.read_parquet('./cache/data.parquet')
3. Use hvPlot as the plotting layer

For moderate size:

python
plot = ddf.hvplot.scatter(x='x', y='y', alpha=0.2)
4. Use Datashader-backed rendering for dense plots

Preferred options:

python
plot = ddf.hvplot.scatter(x='x', y='y', rasterize=True, cnorm='eq_hist')
# or
plot = ddf.hvplot.scatter(x='x', y='y', datashade=True)
5. Keep the pipeline reduction-first

Before plotting:

  • prune columns
  • filter rows early
  • cache reusable reduced results
  • avoid eager .compute() unless needed for a small final product
6. Default performance stance

For huge datasets, keep Dask as the default processing engine and aim for an effective working footprint around 32GB RAM.

7. Output choices
  • use hvplot for nice scientific interactive plots
  • use rasterize=True / datashade=True when density hides structure or raw plotting becomes slow
  • export static outputs only after the plotting representation is settled

Canonical Routing

This is a specialized or legacy example skill. For new work, start with astro-data-access-umbrella and route through:

  • astro-catalog-plotting-cache
  • s3-parquet-astro-access

Keep this skill for dataset-specific examples, but prefer the canonical skills for new implementations, live probes, REANA execution, and plotting/cache conventions.

Pitfalls

  • Do not start plotting directly from remote S3/TAP sources without a local cache.
  • Do not force raw scatter plots for dense tens-of-millions-row datasets.
  • Do not eagerly convert large Dask frames to pandas just to plot them.
  • Do not skip Datashader when overplotting makes the science unreadable.

Verification

  • Data used for plotting comes from a local cached table.
  • Dask remains the processing engine for large working sets.
  • hvPlot is the primary plotting layer.
  • Datashader-backed rendering is used when density or scale requires it.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/arm2arm/astroagentassistant/dask-hvplot-datashader-scientific-plots/badge)](https://verified-skill.com/skills/arm2arm/astroagentassistant/dask-hvplot-datashader-scientific-plots)

Something wrong with this skill or its page? Tell us.