Title: Categorical choropleths with legends · Issue #3468 · plotly/plotly.js · GitHub
Open Graph Title: Categorical choropleths with legends · Issue #3468 · plotly/plotly.js
X Title: Categorical choropleths with legends · Issue #3468 · plotly/plotly.js
Description: Right now it doesn't seem like we can make a categorical choropleth by adding multiple traces with the same color and having legend items appear for them: https://codepen.io/nicolaskruchten/pen/MLwyOZ?editors=0010 Ideally I'd want to be ...
Open Graph Description: Right now it doesn't seem like we can make a categorical choropleth by adding multiple traces with the same color and having legend items appear for them: https://codepen.io/nicolaskruchten/pen/MLw...
X Description: Right now it doesn't seem like we can make a categorical choropleth by adding multiple traces with the same color and having legend items appear for them: https://codepen.io/nicolaskruchten/pen...
Opengraph URL: https://github.com/plotly/plotly.js/issues/3468
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Categorical choropleths with legends","articleBody":"Right now it doesn't seem like we can make a categorical choropleth by adding multiple traces with the same color and having legend items appear for them: https://codepen.io/nicolaskruchten/pen/MLwyOZ?editors=0010\r\n\r\nIdeally I'd want to be able to:\r\n\r\n1. set the color directly, like with `marker.color`, instead of doing a dance with `z` and `colorscale`\r\n2. have legend entries appear\r\n\r\nSo that I could easily switch between `choropleth` and `scattergeo` like with this one: https://codepen.io/nicolaskruchten/pen/QYbNax?editors=0010","author":{"url":"https://github.com/nicolaskruchten","@type":"Person","name":"nicolaskruchten"},"datePublished":"2019-01-23T18:18:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":34},"url":"https://github.com/3468/plotly.js/issues/3468"}
| 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:9e7f36f2-c0b4-478b-4b2d-b7b1b42a7d20 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8CA6:38EED0:655436A:8F5569A:6A575B8A |
| html-safe-nonce | 326f9e9525d783e2d56b8885f1b4de0bfd16682692b829699ef2c1c6be69deea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0E2OjM4RUVEMDo2NTU0MzZBOjhGNTU2OUE6NkE1NzVCOEEiLCJ2aXNpdG9yX2lkIjoiMjU4NTg4Mjg0MTU2NjM3MDY5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 218c564d6c81cfd448a6af4fd77134115be93d933ae6af83932c8f9bf8092e7e |
| hovercard-subject-tag | issue:402368937 |
| 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/3468/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b2f5a4d87c06704ea811862ed1ddf69014007b54560b476b01ca1c2b07009e6/plotly/plotly.js/issues/3468 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b2f5a4d87c06704ea811862ed1ddf69014007b54560b476b01ca1c2b07009e6/plotly/plotly.js/issues/3468 |
| og:image:alt | Right now it doesn't seem like we can make a categorical choropleth by adding multiple traces with the same color and having legend items appear for them: https://codepen.io/nicolaskruchten/pen/MLw... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nicolaskruchten |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| 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 | 87685a1c739dbf97e95760413799bb0221799457 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width