In geometry, circle packing is the study of the arrangement of circles (of equal or varying sizes) on a given surface such that no overlapping occurs and so that all circles touch another.
Questions tagged [circle-pack]
187 questions
0
votes
0 answers
Is it possible to combine pack layout (circles) with partition layout (sunburst) using d3.js library?
I'm trying to group circles, that are visualized trough pack layout (Bubble Chart) from json file, in partitions that are made with Sunburst Partition layout. So far I could not make it work in various attempts. But if it is not possible, what is…

user2789112
- 126
- 4
0
votes
0 answers
D3 circle pack example - open in new window
http://bl.ocks.org/mbostock/4063269‚:
I want to recreate this code but I am going to have a bunch of menu items to click on.
When the user chooses, the item they want, then I want to open the bubble in a new window.
THis is the code that opens it…

teddy
- 63
- 3
- 11
0
votes
1 answer
How to show d3.js circle pack graph in a Rails application?
I have been trying for long to make this : http://bl.ocks.org/mbostock/4063269#flare.json example work in my sample Rails app to learn about d3.js. But, I am getting hard time to make it work.
I put the following code in my index.html.erb file…

K M Rakibul Islam
- 33,760
- 12
- 89
- 110
0
votes
1 answer
I want to add mouseover event to my code using raphael?
var raphael = new Raphael(document.body,500,500);
raphael.setStart();
var d3_raphael = d3.raphael(raphael);
var stuff = {className:"", children:[
{className:"TVI", packageName:'aa', value:2000},
{className:"SIC", packageName:'aa',…

Manu
- 81
- 1
- 10
-2
votes
1 answer
D3 circle packing - swithc color for each branch
I have a d3 circle packing, and I would like to find an elegant way to color each branch differently. I have a depth property, so it is easy to apply a gradient based on it.
To color each branch differently I think it requires to know what color has…

Olivvv
- 1,140
- 1
- 13
- 37
-2
votes
1 answer
How to draw arrows between circles produced by CirclePacking d3.js?
I am using the Zoomable CirclePacking layout provided by d3.js. Each of my circles(at all levels) is uniquely identifiable.
I need to write a generic function that can draw svg arrows(with a text label) from any circle at any level to any other…

RealSalazar
- 31
- 5
-4
votes
2 answers
Place arbitrary sized circles in another shape/parallelogram
I want an algorithm to place a number of arbitrary (with min,max) radius circles inside another shape, mainly inside a rectangle, without overlapping and (seemingly) random position.

Chris Tsu
- 3
- 3