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

[FEATURE]: [Visualizations] Sort sectors #789

Closed
nidhisinghai opened this issue Jun 10, 2022 · 1 comment
Closed

[FEATURE]: [Visualizations] Sort sectors #789

nidhisinghai opened this issue Jun 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@nidhisinghai
Copy link
Contributor

Current implementation: There are no config options for sorting, the sectors are sorted by default.
Proposed implementation: Add config option to either display sectors randomly or reorder sectors from largest to smallest. Applicable to chart types: Treemap

@abasatwar @spattnaik @mrunal-z

@mrunal-z
Copy link
Contributor

Hi @mengweieric @btzeng @anirudha
I have added 'Sort Sectors' option under Treemap options which either sorts sectors from largest to smallest or randomly. Sorting from smallest to largest is not yet possible in plotly. (https://plotly.com/javascript/reference/treemap/#treemap-sort)
You can check the implementation in the below video:

Treemap_Sectors.mp4

Let me know if this looks okay, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants