pydata / pydata/xarray

Graph-like visualization for Datatree

Open
#9,338 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

topic-DataTree
Dominant language
Python
Stars
4.2k
Forks
1.4k
Avg merge
2d 15h
Merged PRs (30d)
14

Description

What is your issue?

Originally posted by @TomNicholas in https://github.com/xarray-contrib/datatree/issues/207

It would be cool to be able to visualize the structure of the tree as a diagram, similar to how you can visualize dask graphs.

What would be even cooler is if you could see the contents of each node by mousing over them in the repr. Dask has a lot of discussion about that, and so far they implemented an interactive version using ipycytoscape in addition to their non-interactive version using graphviz.

For an implementation of plotting a tree (not a general graph) using graphviz also see here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked Dask Graphviz documentation, Dask discussion, and treelib Graphviz implementation to compare the proposed approaches. Define the visualization scope, including whether node contents and interactive hover behavior are required; done means an agreed design and working tree visualization with its behavior documented and tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.