Zsailer / nx_altair

Draw interactive NetworkX graphs with Altair
MIT License
223 stars 26 forks source link

nxviz? #3

Open ericmjl opened 6 years ago

ericmjl commented 6 years ago

I'm the creator of nxviz, and would love to see some of your code in our codebase! In particular, I'm looking for declarative ways of making CircosPlots, ArcPlots and others. Would you be open to working together?

Zsailer commented 6 years ago

Hi @ericmjl

Thanks for posting here. I'd be happy working together--

I think the most interesting (perhaps new?) thing I've done here in nx_altair is flatten Graph data into a DataFrame-like datatype (see here). Then, it's easy to leverage a declarative API like Altair and build an interactive visualization.

I'll need to poke around a bit at nxviz, but I like the idea of constructing a set of network visualizations based on a declarative grammar. This would also be interesting for other hierarchical datasets like trees (I'm an phylogenetics+evolutionary biophysics nerd ;)).