dosubot[bot] commented on issue #34247: URL: https://github.com/apache/superset/issues/34247#issuecomment-3095952664
<!-- Answer --> A few things can prevent pies from displaying on the Cartodiagram Map even if the map itself loads fine: - Your geometry column must contain valid GeoJSON Features or a FeatureCollection, not just raw Point or Polygon objects. If your data isn't wrapped as a Feature, pies won't render—see [this explanation](https://github.com/apache/superset/issues/33618). - In the Cartodiagram chart controls, make sure you have selected both a chart (the pie chart you want to display) and the correct geometry column. Both are required for pies to show up—see [plugin control requirements](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-cartodiagram/src/plugin/controlPanel.ts). - The chart type in the Cartodiagram config must be set to "pie", and you need to provide the value/aggregation fields for the pie segments. - If your numeric columns are returned as strings (for example, due to large numbers or certain database types), pies may not render. Try casting those columns to BIGINT in your SQL query—see [this workaround](https://github.com/apache/superset/issues/33556). - If you use map tiles or layers from third-party domains, check your Content Security Policy (CSP) settings. If the domains aren't allowed, map layers (and possibly overlays like pies) may not render—see [plugin setup notes](https://github.com/apache/superset/issues/32821). If you've checked all of the above and pies still don't show, double-check your dataset shape and control panel settings. Most issues are due to missing or misconfigured geometry, chart selection, or data formatting. <!-- 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/b6034469-6e1d-4d35-96d5-dd607693e1e9?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/b6034469-6e1d-4d35-96d5-dd607693e1e9?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/b6034469-6e1d-4d35-96d5-dd607693e1e9?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/b6034469-6e1d-4d35-96d5-dd607693e1e9?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/b6034469-6e1d-4d35-96d5-dd607693e1e9?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/b6034469-6e1d-4d35-96d5-dd607693e1e9?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/b6034469-6e1d-4d35-96d5-dd607693e1e9?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [! [Share 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/issues/34247) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org