Skip to content

[DECK.GL MULTIPLE LAYERS] Categorical color from scatterplot not used #20459

Closed

Description

@audelorAd

In a deck.gl multiple layers I use a deck.gl scatterplot with a categorical color for the point color.
It's working fine except that the categories color in legend is not the same as the point on the map.

How to reproduce the bug

  1. Create a deck.gl scatterplot chart
  2. Put something in "Point Color > Categorical Color" parameter
  3. Save chart
  4. Create a deck.gl Multple Layers chart
  5. Add previously created deck.gl scatterplot
  6. Run and see point color

Actual results

2022-06-21_17h57_08

Expected results

Same color as the configured one in deck.gl scatterplot

2022-06-21_17h58_22

Environment

(please complete the following information):

  • browser type and version: Firefox 91.10 esr
  • superset version: 1.5.0

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Activity

  1. MrTrakez commented on Sep 8, 2022

    @MrTrakez

    Have you found a solution yet? I have the same problem!

  2. cphilibien commented on Nov 30, 2022

    @cphilibien

    I have the same issue. There are a solution?

  3. BitBy73Bit commented on Apr 12, 2023

    @BitBy73Bit

    +1

  4. rusackas commented on Feb 23, 2024

    @rusackas
    Member

    Still an issue in Superset 3.x... but not a high priority issue. Anyone want to take a crack at opening a PR?

  5. rusackas commented on Feb 29, 2024

    @rusackas
    Member

    The above linked issue was closed as a duplicate, but has more context for anyone who wants to tackle this.

  6. rusackas commented on Aug 6, 2024

    @rusackas
    Member

    I wonder if our resident DeckGL guru @Mattc1221 would like to take a look here.

  7. rusackas commented on Apr 3, 2025

    @rusackas
    Member

    Seems like this thread has gone cold... maybe it's an edge case... maybe it's fixed in 4.1.2/5.0.0? Could use some fresh context and validation, but might be closed as 'not planned' unless anyone wants to investigate and open a PR.

  8. DarksChoise commented on Jun 25, 2025

    @DarksChoise
    • does anyone know if it has been resolved? @geido @dosu
  9. dosubot commented on Jun 25, 2025

    @dosubot

    Yes, this issue was present in Superset 4.1.2 through 5.0.0rc2, where Deck.GL scatterplot charts would show incorrect categorical colors in dashboards. The bug is fixed in the master branch after 5.0.0rc2—see the fix here: PR #33748. If you need a workaround, using version 4.1.1 avoids the problem, but upgrading to a version that includes this PR will resolve it permanently. More context and confirmation of the fix can be found in issue #32841.

    To reply, just mention @dosu.


    Share context across your team and agents. Try Dosu.

    Leave Feedback Learn about superset with Dosu Add Dosu to your team

  10. DarksChoise commented on Jun 26, 2025

    @DarksChoise
    • but this is on deckgl's mulpiple layers graphic... @dosu
  11. DarksChoise commented on Jul 1, 2025

    @DarksChoise

    @dosu-bot the error that is appearing in the colors is in DECK.GL MULTIPLE LAYERS, is there any special file that you can check?

  12. OOub commented on Jul 16, 2025

    @OOub

    Can confirm, the issue is still present in 5.0.0. legends and categorical colors do not appear in the multilayer deck.gl chart.

  13. rusackas commented on Mar 11, 2026

    @rusackas
    Member

    Still confirmed present in Superset 5.0.0 per @OOub (July 2025) — categorical colors from scatterplot layers are not applied in the multi-layer deck.gl chart. PRs to fix how categorical colors are propagated across layers are welcome.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    #bugBug reportvalidation:requiredA committer should validate the issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions