GitHub user dosubot[bot] added a comment to the discussion: Cartodiagram Map 
does not work for me

<!-- Answer -->
Your geometry column format looks correct—the Cartodiagram Map expects a 
stringified GeoJSON Point like {"type":"Point","coordinates":[longitude, 
latitude]} and you’re using that structure, with longitude first and latitude 
second, which matches the requirements. The plugin parses this field with 
JSON.parse and will silently skip any rows where the value is malformed or 
missing, so double-check for typos or extra spaces in your data source if 
possible 
[[source]](https://github.com/apache/superset/blob/ef14a5fbb47a540b0c91f40fa397fa9c6d18fa2d/superset-frontend/plugins/plugin-chart-cartodiagram/src/util/transformPropsUtil.ts).

If your Pie chart renders but the Cartodiagram Map does not show pies, it’s 
likely a data or config mismatch specific to the map plugin. Make sure the 
geometry column is present and valid for every row you expect to see a pie. 
Also, recent changes to map rendering in Superset 5.0 (especially DeckGL 
layers) could affect compatibility, so check your browser console for any 
silent errors or warnings during rendering 
[[source]](https://github.com/apache/superset/pull/33364).

If everything looks correct and you still don’t see pies, try these quick 
checks: ensure your dataset has one row per pie/location, the geometry column 
is not null or empty for those rows, and the selected chart in the Cartodiagram 
config matches the Pie chart you want to display. If you spot any errors or 
warnings in the console, let me know what they say and I can help interpret 
them.


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/13aac7fc-33f2-49c4-8f5e-1769c4bcbf58?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/13aac7fc-33f2-49c4-8f5e-1769c4bcbf58?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/13aac7fc-33f2-49c4-8f5e-1769c4bcbf58?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/13aac7fc-33f2-49c4-8f5e-1769c4bcbf58?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/13aac7fc-33f2-49c4-8f5e-1769c4bcbf58?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/13aac7fc-33f2-49c4-8f5e-1769c4bcbf58?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/13aac7fc-33f2-49c4-8f5e-1769c4bcbf58?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Sh
 are on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/34069)

GitHub link: 
https://github.com/apache/superset/discussions/34069#discussioncomment-13664142

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to