circle-pack Questions
0
I have created a circle packing layout with a large hierarchical dataset. The image below shows what it looks like. The number in each circle corresponds to the number of leaf nodes.
Each leaf node...
Agriculture asked 12/10, 2021 at 8:43
2
Using D3 I display a bunch of circles in different sizes, each filled with text. I'm stuck with finding the correct font size so that the text fits correct in the circle, depending of it's size and...
Sporadic asked 20/5, 2014 at 12:10
2
Solved
I am trying to label some circles in a circle pack layout with text that flows along the circle itself.
Here is one experimental jsfiddle:
As you can see, it is possible to render text along t...
Pentadactyl asked 21/1, 2014 at 10:51
2
Solved
I'm trying to merge two of Mike's examples: Zoomable Circle Packing + Automatic Text Sizing.
It works when initially displayed at the top-level. However, if you zoom in to the next level, the font...
Stirps asked 2/6, 2015 at 17:2
1
I have bubble chart based on this tutorial.
I have enabled dragging of bubbles with following code. This makes individual circles draggable, but while dragging a circle other circles don't get aut...
Significative asked 8/8, 2014 at 3:55
2
Solved
Okay... I am using the Zoomable Circle Packing from http://bl.ocks.org/mbostock/7607535
I opened the flare.json file and started messing with it and was able to manipulate it successfully. It looks...
Connaught asked 16/12, 2014 at 21:38
2
Solved
I have a little problem here:
I'm working with this example (http://bl.ocks.org/mbostock/7607535) and I modified the
flare.json file like this:
{
"name": "flare",
"children": [
{
"name": "Kommu...
Benthamism asked 14/1, 2015 at 16:54
1
I have a set of data that I am visualizing using d3.js. I am representing data points in the form of bubbles, where the configuration for bubbles is as follows:
var dot = svg.selectAll("g")
.data...
Ranaerancagua asked 19/7, 2013 at 19:23
3
Solved
I'm using Three.js to create points on a sphere, similar to the periodic table of elements example.
My data set is circles of irregular size, and I wish to evenly distribute them around the surface...
Irrelievable asked 8/12, 2014 at 22:29
1
Solved
I have an arc and currently the dots that belong to that arc use d3.layout.pack() to place them, this however only places the dots in the arc in a circle obviously.
Is there a way that I could pl...
Balbur asked 18/8, 2014 at 10:19
2
Example: http://mbostock.github.com/d3/ex/bubble.html
I'm having a hard time understanding what goes on with line 16:
.data(bubble.nodes(classes(json))
And why, or where within the classes() ...
Wiltshire asked 17/7, 2012 at 20:57
0
I have a graph represented with a standard force layout.
Nodes can be clustered by attributes.
Can I represent these clusters with a pack layout?
How will the 2 layouts coexist and how will the ...
Swanee asked 26/6, 2014 at 17:7
2
This circle pack layout example (http://bl.ocks.org/4063269) is perfect for a project I'm working on, however it sizes all the circles relative to one another:
Is there a simple way to specify f...
Cingulum asked 10/2, 2013 at 8:29
1
Solved
So I am using the same code as this D3 gallery example (with my own data):
http://bl.ocks.org/mbostock/4063269
I'd like to get a bubble chart where the circles are arranged with the biggest ...
Neper asked 20/6, 2014 at 23:7
1
Solved
I managed to create a bubble chart which works fine when it is a single dataset. But something goes wrong if I need to update it with other datasets. Please help me with my update function at http:...
Fragment asked 23/5, 2014 at 9:6
1
Solved
Here is jsfiddle:
This is really good if you have, let's say, 2 political parties, and you want to present election results across several voting units, or similarly structured data.
However, I...
Lakes asked 20/1, 2014 at 10:47
3
Solved
I am trying to wrap my mind around d3's pack layout (http://bl.ocks.org/4063530).
I have the basic layout working but I would like to update it with new data. i.e. collect new data, bind it to the...
Sycee asked 10/2, 2013 at 2:40
4
I have implemented the following graph with the edges rendered with d3.svg.diagonal(). However, when I try substituting the diagonal with d3.svg.line(), it doesn't appear to pull the target and sou...
Arteriole asked 17/4, 2013 at 20:59
1
Solved
I'm banging my head here. I want to display tooltips for the leaf nodes in a structure such as Zoomable Pack Layout. The leaf nodes are the brown ones. If I used the standard code for tooltips:
vi...
Brentbrenton asked 13/11, 2013 at 22:7
1
Solved
I've been toying around with the circle pack sample. However, I have a lot of trouble trying to update the thing from a new set of JSON data and refreshing it afterwards.
My code is just a modifie...
Floatage asked 13/9, 2013 at 16:21
1
I have a Force Directed Graph that I've generated with D3 and within each node (which are represented as large circles) I'd like to pack in a bunch of smaller circles using D3's Circle Packing. Is ...
Niggardly asked 5/2, 2013 at 17:54
2
Solved
I am creating an interactive bubble chart of fortune 500 data. I am trying to reduce a selection but can't figure out why it's not working as I expect.
var bubble = d3.layout.pack()
...
d3.json(...
Volta asked 28/1, 2013 at 12:43
1
© 2022 - 2024 — McMap. All rights reserved.