Pie charts as graph nodes

Hi there, very nice to see support for graphs/networks in the latest release. Would it be possible to plot a network where each node is a pie chart? This is essential for the network plots I need to make, where each node represents a collection of objects from different locations, and we size the node by total number of objects then colour pie wedges within the node to represent the number of items from each location.

Hi

My suggestion for this would be to use the built in support to make a regular graph with e.g. circles for nodes, then make the nodes invisible (by setting the line and fill colors to None). Then you can use the coordinates of the invisible nodes as input for wedge glyphs that you can use to draw small pie charts at the node positions. Hopefully that's enough to get started otherwise I can try to elaborate more.

Thanks,

Bryan

ยทยทยท

On Sep 1, 2017, at 17:07, alimanfoo via Bokeh Discussion - Public <[email protected]> wrote:

Hi there, very nice to see support for graphs/networks in the latest release. Would it be possible to plot a network where each node is a pie chart? This is essential for the network plots I need to make, where each node represents a collection of objects from different locations, and we size the node by total number of objects then colour pie wedges within the node to represent the number of items from each location.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/6f1d4d4e-92f6-43b8-81b6-d5ab1e0efc6f%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.