Skip to content

Sunburst + treemap continuous colorscale example #177

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

Merged
merged 3 commits into from
Nov 9, 2019

Conversation

emmanuelle
Copy link
Contributor

No description provided.

@nicolaskruchten
Copy link
Contributor

Ah actually the sectors should be sized by calls, not sales. The way I think of this is that the function has two arguments: numerator and denominator. It scales by denominator and colors by sum(numerator)/sum(denominator).

@emmanuelle
Copy link
Contributor Author

Ok ! With the helper function making this change was super easy as you can see from 6a9a960 :-)

@nicolaskruchten
Copy link
Contributor

💃

@nicolaskruchten nicolaskruchten merged commit 9ba39c1 into master Nov 9, 2019
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