Repository navigation
Add DumbbellPlot Viz Operator - #2149
Merged
Merged
Conversation
yunyad
reviewed
Sep 15, 2023
bobbai00
force-pushed
the
jiadong-add-dumbbellplot-operator
branch
from
September 15, 2023 18:33
9b77e63 to
aeaa06c
Compare
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
This pull request introduces the DumbbellPlot viz operator. A Dumbbell Plot, often referred to as a Dumbbell Chart, is a type of data visualization primarily used to compare the difference between two set of data points. This operator allows user to select which two sets of data to compare, which measurement to compare, and entities involved in the comparison. For implementation details, this operator is a python-native operator. It accepts the user-specified data and generate corresponding python script. The figure is created with `plotly.graph_objects.Figure`. More details about the plotly Dumbbell chart drawing is available [here](https://plotly.com/python/dumbbell-plots/). Here is a small demo:  The icon image is from <a href="https://www.freepik.com/icon/dumbbell_206254">Icon by Freepik</a>
2 of 6 tasks
renovate-bot
pushed a commit
to renovate-bot/apache-_-texera
that referenced
this pull request
Nov 3, 2026
…os in LICENSE (apache#9261) ### What changes were proposed in this PR? Three operator icons came from sources whose licences are incompatible with an Apache release, so they can't be covered by `DISCLAIMER-WIP` and must be replaced before RC1 (apache#8984). This PR replaces them the same way as apache#9220, and fixes two smaller items from the same audit. | File | Was | Now | Licence | |---|---|---|---| | `SankeyDiagram.png` | Adobe Stock asset (per its embedded metadata) | IBM Carbon [`sankey-diagram--alt`](https://cdn.jsdelivr.net/npm/@carbon/[email protected]/svg/32/sankey-diagram--alt.svg) (`@carbon/icons` 11.91.0) | Apache-2.0 | | `DumbbellPlot.png` | Freepik icon (apache#2149) | Project-made: drawn dumbbell plot (lines with an open start and a filled end dot) | — | | `TypeCasting.png` | Noun Project icon, author never recorded (apache#929) | IBM Carbon [`transform--binary`](https://cdn.jsdelivr.net/npm/@carbon/[email protected]/svg/32/transform--binary.svg) (`@carbon/icons` 11.91.0) | Apache-2.0 | | `SklearnDummyClassifier.png`, `SklearnTrainingDummyClassifier.png` (new) | No icon: the existing `SklearnDummy*.png` files match no operator type, so these operators showed a broken image | Project-made: typographic "Dummy" in [Aileron](https://dotcolon.net/fonts/aileron) (CC0 1.0), like the "P(A)" and "PA" icons in apache#9220 | — | <img width="770" height="890" alt="image" src="https://github.com/user-attachments/assets/08f63fa1-10ce-4702-9aeb-70246f67b22d" /> **LICENSE.** The two Carbon icons are added to the existing Carbon operator-icon entry in `LICENSE` and `frontend/LICENSE-binary`; project-made icons get no entry. The PNGs are 256×256 and record their source, licence and copyright in PNG text metadata (`exiftool -Comment <file>`), as in apache#9220. **Apache Arrow and AsterixDB logos.** `ArrowSource.png` and `AsterixDBSource.png` are byte-identical to the official logos in [`apache/arrow-site`](https://github.com/apache/arrow-site/blob/229e92ede438bb6e13417eda141551c242cff334/img/arrow-logo_hex_black-txt_white-bg.png) and [`apache/asterixdb-site`](https://github.com/apache/asterixdb-site/blob/00f9bf22dd19e8645315fb2b139527a575dae9c1/img/asterixdb_tm.png) (same git blob hash). This adds an entry for them with a trademark note. It records their provenance for the audit; strictly, [bundled ASF works need no LICENSE entry](https://infra.apache.org/licensing-howto.html#bundle-asf-product), so I'm happy to drop it if reviewers prefer. ### Any related issues, documentation, discussions? Part of apache#8984 (follows apache#9220). Related: apache#8800, apache#2149, apache#929. The icons that no operator uses (including `SklearnDummy*.png`, `HdfsFileScan.png` and `src/favicon.ico`) are left for a separate PR, pending the decision on apache#8984. Backport: the five icon files are identical on `release/v1.3`, and both dummy-classifier operators exist there. `LICENSE` has one trivial conflict on `release/v1.3` (it has no ORCID entry next to the new block), so the backport may need to be done by hand. ### How was this PR tested? Asset and LICENSE change only, no code change. - Previewed every icon at the 35 px size the workflow canvas draws them at (see the before/after image). - Checked that the third-party files are listed in both `LICENSE` and `frontend/LICENSE-binary` and the project-made ones are not. - Checked the PNG notices: `exiftool -s -Comment frontend/src/assets/operator_images/{SankeyDiagram,DumbbellPlot,TypeCasting,SklearnDummyClassifier}.png`. - Checked the Arrow and AsterixDB logos against the upstream files: `git hash-object` matches the blobs in `apache/arrow-site` and `apache/asterixdb-site`. - License header check, as in `check-header.yml`: `license-eye -c .licenserc.yaml header check` reports 0 invalid files. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-opus-5-5) No image-generation model was used. Claude Code was used to search the icon sets, render the SVGs to PNG, draw the project-made icons from simple shapes and text, and write the LICENSE entries; every icon was chosen by the author.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces the DumbbellPlot viz operator.
A Dumbbell Plot, often referred to as a Dumbbell Chart, is a type of data visualization primarily used to compare the difference between two set of data points. This operator allows user to select which two sets of data to compare, which measurement to compare, and entities involved in the comparison.
For implementation details, this operator is a python-native operator. It accepts the user-specified data and generate corresponding python script. The figure is created with
plotly.graph_objects.Figure. More details about the plotly Dumbbell chart drawing is available here.Here is a small demo:

The icon image is from Icon by Freepik