The Visualization API does not have any tools for creating phylograms.  It 
may be possible to simulate one using a ScatterChart, as you have noted, 
but by default it would not support the Newick data structure.  You could 
probably code an algorithm to translate the Newick structure into a 
DataTable format appropriate for the chart, but I don't know enough about 
the format to say how you would go about it.

On Saturday, August 16, 2014 10:07:04 AM UTC-4, Bryan Maloney wrote:
>
>
> Can a phylogram or other branch-length-respecting tree be rendered in the 
> visualization API? A phylogram is a type of tree representation. They could 
> be seen as types of "organizational chart", but the Google "organizational 
> chart" API doesn't seem to be capable of rendering them. These trees differ 
> from the Google "organizational chart" in the following ways:
>
> 1: The interior nodes are almost never explicitly represented or even 
> named. They can simply be points of connection with no explicit identity 
> beyond that.
> 2: The LENGTHS of the edges (branches) matter. It is not only important 
> that "X", "Q", and "Z" descend from "Y", but how far back They all split 
> from (or continued) "Y".
> 3: Unrooted trees have a more radial and irregular appearance (as well as 
> no external root), particularly to highlight comparisons of distances 
> instead of the hierarchical structure.
>
> Can this be done in the Google API but I've merely missed it?
>
> I could theoretically fake this with a lot of calculation and a 
> scatterchart, but I'd like to render it "native".
>
> I suppose it's far too much to hope that, if Google API can handle this 
> concept, it can do it from the most commonly used, WORLDWIDE, method of 
> representing a phylogram, the "Newick" format.
>
> Example of Newick format tree:
>
>
> (((((CBS:0.132941702,Sean_Hannity:0.132941702):0.1550955605,ABC:0.2880372625):0.311266502,((NBC:0.211372502,Maddow:0.211372502):0.1850476855,Fox:0.3964201875):0.202883577):0.393478953,CNN:0.9927827175):1.209381255,((Glenn_Beck:0.5661413985,Rush_Limbaugh:0.5661413985):0.2989921065,Bloggers:0.865133505):1.337030468);
>
> I have attached an image of how this would render as an "unrooted tree".
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" 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].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to