Skip to content

Sunburst zooming and depth#64

Open
IvanSladkov wants to merge 3 commits intodevelopfrom
sunburstzooming
Open

Sunburst zooming and depth#64
IvanSladkov wants to merge 3 commits intodevelopfrom
sunburstzooming

Conversation

@IvanSladkov
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Collaborator

@archived-m archived-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how maxdepth solves the problem.
The problem is that we have many levels of depth that we cannot show, we have to clip them off to maintain sunburst size. When a user clicks to zoom one level deeper however, we can show the next level of depth. In that sense, you're maybe not really "zooming" but "traversing".
We're showing more information the deeper the user goes, not hiding previous levels of interaction.
Thoughts?

@IvanSladkov
Copy link
Copy Markdown
Collaborator Author

Yes right now it's not really zooming, that's true. But if we really want a zoom we'll have to show the entire data at once, this will make it really unclear. The further you go from the center, the smaller the nodes become on the sunburst. It will be unreadable and impractical with the amount of data we want to represent.
Maybe we can keep it at traversing, but show how many layers are omitted per node. That way the user will still get some information out of it, that will help with traversing the sunburst.

@archived-m
Copy link
Copy Markdown
Collaborator

But as I understand it, there is no traversal as of yet?
I like that right now we cut off the sunburst at a certain amount of nodes, that's good visibility. I'm proposing we show the node that was cut off when we zoom, and hide the nodes that were visible before the node we zoomed in on. Makes sense?

@IvanSladkov
Copy link
Copy Markdown
Collaborator Author

Right now, the maxdepth is the amount of children layers shown of the currently selected node. It starts off with the root as center and if you click on another node, that node becomes the center an you see the children of that node and all the upper layers are hidden. Isn't that what you mean?

@archived-m
Copy link
Copy Markdown
Collaborator

Ah you're right, I'm confused about maxdepth.
As it stands though, the upper layers are hidden, but no additional child layers are shown on zoom.

Let's say we have 10 levels, maxdepth 5. We zoom in on the second level, level one is hidden, but level 6 is not shown in its stead, right? Or is this very, very coincidental in our current data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants