-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gapminder animation scatter plot #247
Comments
There are far too many arguments and far too many combinations of them to add them one by one like to for every single chart. What you ask here works for the scatter plot but not many others, that I, as the author, have to take into consideration. Defining the color of bubbles can either be done with Feel free to reopen if that does not work and I will fix it. |
Hi John! Thank you for your kindly response. I tried Using If you think this is useful, feel free to add or modify as you like. Thanks Piyayut
|
I tried to replicate the gapminder animation scatter plot from this example using
echarts4r
. I find out that the currente_scatter
ande_scatter_
function do not allow me to add new dimension (column) to be used in visual_map i.e. mapping a column continent to color.I find one work around solution. I modify
e_scatter_
and.build_data_size
function by adding an argument called color as follows.In addition, the ability to add column(s) from the dataframe enables us to custom tooltip.
I believe this functionality is nice to add and you would have better way to solve this issue. If this is worth effort, please kindly add to the great
echart4r
package.Many Thanks.
Here is the code used to generate the animation plot.
The text was updated successfully, but these errors were encountered: