Files
superset2/superset-frontend/plugins/plugin-chart-word-cloud
Brian Donovan 427d94b4bd fix(chart): add independent sort_by_series control for word cloud
Make sort_by_metric and sort_by_series independent controls instead of
the previous behavior where series sort was unconditionally appended
alongside the metric sort. This allows users to choose metric-only
sorting (enabling Druid TopN optimization) while optionally adding a
secondary series sort for tie-breaking.

Changes:
- buildQuery.ts: sort_by_metric and sort_by_series are now independent
- controlPanel.tsx: add sort_by_series checkbox (default: false)
- buildQuery.test.ts: cover all four sort combinations
- DB migration: set sort_by_series=true for existing word_cloud charts
  to preserve backward compatibility

Fixes #39072
2026-04-13 12:47:13 -07:00
..

@superset-ui/plugin-chart-word-cloud

Version Libraries.io

This plugin provides Word Cloud 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 WordCloudChartPlugin from '@superset-ui/plugin-chart-word-cloud';

new WordCloudChartPlugin().configure({ key: 'word-cloud' }).register();

Then use it via SuperChart. See storybook for more details.

<SuperChart
  chartType="word-cloud"
  width={600}
  height={600}
  formData={...}
  queriesData={[{
    data: {...},
  }]}
/>