Title: Extend multicategory axes to more than 2 levels · Issue #2175 · plotly/plotly.js · GitHub
Open Graph Title: Extend multicategory axes to more than 2 levels · Issue #2175 · plotly/plotly.js
X Title: Extend multicategory axes to more than 2 levels · Issue #2175 · plotly/plotly.js
Description: This is a request to add nested categorical axes. These are often used in "variability charts", examples of which can be seen here. There's a few ways this could be implemented in practice. Rather than passing an array of values for y th...
Open Graph Description: This is a request to add nested categorical axes. These are often used in "variability charts", examples of which can be seen here. There's a few ways this could be implemented in practice. Rather ...
X Description: This is a request to add nested categorical axes. These are often used in "variability charts", examples of which can be seen here. There's a few ways this could be implemented in pra...
Opengraph URL: https://github.com/plotly/plotly.js/issues/2175
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Extend multicategory axes to more than 2 levels","articleBody":"This is a request to add nested categorical axes. These are often used in \"variability charts\", examples of which can be seen [here](https://stackoverflow.com/questions/43764586/how-do-i-make-nested-x-labels-like-a-jmp-variability-plot-but-using-ggplot2). \r\n\r\nThere's a few ways this could be implemented in practice. Rather than passing an array of values for `y` the user could pass an object like: \r\n\r\n```\r\n{\r\n \"popcorn\": [\"gourmet\", \"gourmet\", \"plain\", ...]\r\n \"batch\": [\"large\", \"small\", \"large\", ...]\r\n ...\r\n}\r\n```\r\n\r\nor simply pass a category name / number (`1` or `\"gourmet-large-little\"`) and pass the nesting information for the axis in the layout section. \r\n\r\n(I was surprised not to find an open issue for this -- it's possible that there is one but I didn't search using the right terms). \r\n\r\nEdit: There is some limited support for this [as shown here](https://plot.ly/javascript/axes/#subcategory-axes) but it involves hacking the axis together by hand and would be difficult to use in an automated manner. ","author":{"url":"https://github.com/amellnik","@type":"Person","name":"amellnik"},"datePublished":"2017-11-20T17:04:25Z","url":"https://github.com/plotly/plotly.js/issues/2175"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a043fc33-d74c-7407-36b4-236ee333a18e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E12:2F543F:10EEEFD:166E384:6B01E1DB |
| html-safe-nonce | eb720b281a4b3b7e08527e5497afe052b2ccc3c5b2ca4078d81b5658adb21a1c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTEyOjJGNTQzRjoxMEVFRUZEOjE2NkUzODQ6NkIwMUUxREIiLCJ2aXNpdG9yX2lkIjoiMjQ3NzU3NjAxNTYxOTE1NDM5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7e6dde5c08a612deef75c7d2f350206cb047357f405c3c3babda0ecf16a34d25 |
| hovercard-subject-tag | issue:275429318 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/2175/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4aefccead136233bbc6ff410a93234672ec6608c3ada448b8abb64d245ca8980/plotly/plotly.js/issues/2175 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4aefccead136233bbc6ff410a93234672ec6608c3ada448b8abb64d245ca8980/plotly/plotly.js/issues/2175 |
| og:image:alt | This is a request to add nested categorical axes. These are often used in "variability charts", examples of which can be seen here. There's a few ways this could be implemented in practice. Rather ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | amellnik |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width