pmsoltani/react-dash

AmWordCloud can't fix the position of long keywords, when there are too many of them

Closed this issue · 2 comments

Bug description

When an author has too many keywords, the AmWordCloud component can't fix the position of keywords, resulting in an ever-changing word cloud (at least until all keywords are reduced to the same size, figure below).

AmWordCloud

Expected behavior

The chart should quickly decide on the position and size of each keyword.

Suggested solution

  • Backend should send fewer keywords, even if the paper-count of all of them are over a certain threshold (there should be a cap).

  • The AmWordCloud component should reduce the size of lengthy keywords in the chart itself and only show the full keywords when hovered over.

The backend will not employ a "cap" for the number of returned keywords. That should be processed in the front-end

Closing the issue. Feel free to re-open it.