rawgraphs / rawgraphs-app

A web interface to create custom vector-based visualizations on top of RAWGraphs core
https://rawgraphs.io
Apache License 2.0
8.66k stars 1.84k forks source link

[Treemap] few results less than inserted #209

Closed miuxapop closed 4 years ago

miuxapop commented 4 years ago

Hello, I've been teaching Information Visualization in Lisbon, and our students are using Raw Graphs for most of their projects. We noticed that when using the Treemap visualization, even though we insert 20 results, for instance, most of the times we got 2 or 3 results less than pasted. We have already tried editing by the size of the visualization but still got few results less than expected. Does anybody knows if is this a bug or are we doing something wrong? Thanks in advance!

fd1bfc17-7479-43f0-82fe-6ad9c223225c

mikima commented 4 years ago

HI! can you send us a copy of the used dataset? thanks!

miuxapop commented 4 years ago

Sure, @mikima! Here it goes in this spreadsheet: [https://docs.google.com/spreadsheets/d/1d6EjWpx9lQ-bbMuKlXP6qKVoCAqKNQbHN-IHutTFN58/edit?usp=sharing] The content is in the tab called "emoji statistics").

After some tests, I could manage to get the whole pasted content by adding on hierarchy the "emojis" characters and also the description of the emoji.

mikima commented 4 years ago

Hi! In RAWGraphs the items in the treemap are defined by the hierarchy, as you pointed out. therefore, if you put "frequency you will get a square for each unique value in that column. If you put the "emojis" column you get the correct result