vizulyMay 19, 2016 at 6:30 am #6164
The min/max values for the domain get calculated automatically as a convenience, but you can set them to what ever you feel works best in that routine I describe above.
I have not imported your data into the example to debug it directly, but from what you describe you have two values 6 and 7. One is the min, one is the max, so the the radius of the two respective child nodes would be one at the minimum of the range and one at the max (thus the small and big circles). You can adjust the code in the weightedtree.js to fit your needs by modifying the scale domain to a larger range, perhaps nodeScale.domain([0,10]), thus you will see a smaller difference in the node size.
Feel free to customize the weightedtree.js directly, that is the purpose of vizuly – to have a relatively simple architecture with code you can tweak to meet your needs. Don’t worry about breaking things.
You must be logged in to reply to this topic.
© 2021 — vizuly.io