Skip to content

Instantly share code, notes, and snippets.

@smzn

smzn/bubble-view

Created Oct 23, 2016
Embed
What would you like to do?
bubble-view
<div id="myGraph"></div>
<script>
var list = {
"name": "Keyphrase",
"children": [
{
"name": "twitter",
"children": [
<?php for($index = 0; $index < $count; $index++){ ?>
{ "name": "<?php echo $weight[$index][0];?>", "households": <?php echo $weight[$index][1];?> },
<?php }?>
]
}
]
};
</script>
<?php echo $this->Html->script('bubble.js');?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.