mirror of
https://github.com/apache/superset.git
synced 2026-07-28 01:22:36 +00:00
Adapted from master commitba7271bto WorldMap.js (JS) on 6.0-release. - Accepted: null-safe extents, fallback colorFn, ?? theme.colorBorder - Accepted: 3 new tests adapted for 6.0-release test structure - Rejected: TypeScript conversion (file is .js on this branch) (cherry picked from commitba7271b4d8) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@superset-ui/legacy-plugin-chart-world-map
This plugin provides World Map for Superset.
Usage
Configure key, which can be any string, and register the plugin. This key will be used to
lookup this chart throughout the app.
import WorldmapChartPlugin from '@superset-ui/legacy-plugin-chart-world-map';
new WorldmapChartPlugin().configure({ key: 'world-map' }).register();
Then use it via SuperChart. See
storybook
for more details.
<SuperChart
chartType="world-map"
width={600}
height={600}
formData={...}
queriesData={[{
data: {...},
}]}
/>