Skip to content

fix(chatbot): detect category count in choropleth lookup rows - #1702

Merged
AldemirLucas merged 1 commit into
mainfrom
fix/choropleth-category-palette
Sep 23, 2026
Merged

AldemirLucas merged 1 commit into
mainfrom
fix/choropleth-category-palette

Conversation

@vrtornisiello

@vrtornisiello vrtornisiello commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

countColorSeries only read spec.data.values, which on a choropleth is the geometry — so it found no rows, returned null, and the palette fell back to the 3-color set that then cycled across all categories. The fix is to search every inline row array (including a lookup transform's from.data.values) instead.

countColorSeries only read spec.data.values, which on a choropleth is the
geometry — so it found no rows, returned null, and the palette fell back to
the 3-color set that then cycled across all categories. Search every inline
row array (including a lookup transform's from.data.values) instead.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@AldemirLucas
AldemirLucas merged commit 8ecac35 into main Sep 23, 2026
3 checks passed
@AldemirLucas
AldemirLucas deleted the fix/choropleth-category-palette branch September 23, 2026 02:07

This branch was successfully deployed

1 active deployment
staging — 47a9e908 Deployed Sep 23, 2026 by vrtornisiello via Cypress E2E Tests #162
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