javascript - Scatter Chart in analog clock -


i have json data array this:

var data=[ {"someproperty":"number","time":"2014-12-11t09:24:39.000z"},  {"someproperty":"number","time":"2014-12-11t09:27:39.000z"},  {"someproperty":"number","time":"2014-12-11t09:30:39.000z"}, .....  ] 

i need draw circle each 1 in array (with radius of "someproperty") , put them in analog clock according time. found picture similar problem here:

enter image description here

but no code :(

i use d3.js it. succeeded in doing using rotate circles on circumference , intersect each other. want put them across radius in order avoid collision. see examples of collision detection http://bl.ocks.org/mbostock/1747543 don't see there option control x,y position want.

if read question right, "someproperty" provide radius value, , "time" provides angle.

i suggest transforming these datum polar coordnates described here: d3.js plot elements using polar coordinates

theta angle converted "time". r "someproperty"


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -