Kapalı

Read xml file to create Google wordtree

[url removed, login to view]

This example makes a wordtree using Google charts. I want it to read an xml file for the [ ['Phrases'] instead of cats. I need someone to change the code to read from the attached xml file.

<html>

<head>

<script type="text/javascript" src="[url removed, login to view]"></script>

<script type="text/javascript">

[url removed, login to view]("visualization", "1.1", {packages:["wordtree"]});

[url removed, login to view](drawChart);

function drawChart() {

var data = [url removed, login to view](

[ ['Phrases'],

['cats are better than dogs'],

['cats eat kibble'],

['cats are better than hamsters'],

['cats are awesome'],

['cats are people too'],

['cats eat mice'],

['cats meowing'],

['cats in the cradle'],

['cats eat mice'],

['cats in the cradle lyrics'],

['cats eat kibble'],

['cats for adoption'],

['cats are family'],

['cats eat mice'],

['cats are better than kittens'],

['cats are evil'],

['cats are weird'],

['cats eat mice'],

]

);

var options = {

wordtree: {

format: 'implicit',

word: 'cats'

}

};

var chart = new [url removed, login to view]([url removed, login to view]('wordtree_basic'));

[url removed, login to view](data, options);

}

</script>

</head>

<body>

<div id="wordtree_basic" style="width: 900px; height: 500px;"></div>

</body>

</html>

Beceriler: Google Web Yöneticisi Araçları, HTML5, XML

Daha fazlasını görün: want create chart, src format file, read example, google developers, kittens, create draw, google draw, javascript load file, google charts options, implicit, text format xml, google visualization javascript, format text xml, javascript visualization, html chart script, data visualization javascript, html data load, javascript read text, javascript xml charts, html div example, javascript draw function, javascript data xml, 500px, file javascript read, xml word style

İşveren Hakkında:
( 76 değerlendirme ) Algonquin, United States

Proje NO: #6554596

2 freelancer bu iş için ortalamada 23$ teklif veriyor

chinoto

Are my examples correct? 1) A css selector that should be able to reach every entry. 2) expected input. 3) expected output. ### wordtree_basic ### document>row>field_0 <document> <row><field_0>value ,menu Daha fazlası

1 gün içinde 20$ USD
(0 Değerlendirme)
0.0
MilanKostolani

A proposal has not yet been provided

1 gün içinde 25$ USD
(0 Değerlendirme)
0.0