Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partition padding, so as to preserve relative areas? #20

Closed
mbostock opened this issue Dec 1, 2015 · 1 comment
Closed

Partition padding, so as to preserve relative areas? #20

mbostock opened this issue Dec 1, 2015 · 1 comment

Comments

@mbostock
Copy link
Member

mbostock commented Dec 1, 2015

If you do the simple thing and subtract a fixed amount of padding from the computed cells in a partition layout, you introduce distortion because small cells are disproportionately affected. It might be nice if the partition layout knew about padding, so that it could preserve the relative areas of padded cells.

See #19 for a description of a similar problem with the treemap layout.

@mbostock
Copy link
Member Author

This is an interesting idea but I’m not going to pursue it immediately. Unlike #19, however, this presumably would be much easier to implement…

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

No branches or pull requests

1 participant