Skip to content
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

Race and Waterfalls Charts #608

Open
msgoussi opened this issue Dec 24, 2023 · 6 comments
Open

Race and Waterfalls Charts #608

msgoussi opened this issue Dec 24, 2023 · 6 comments

Comments

@msgoussi
Copy link

I am wondering if the package supports Race Charts (https://echarts.apache.org/examples/en/editor.html?c=bar-race-country) or waterfalls (https://echarts.apache.org/examples/en/editor.html?c=bar-waterfall2)!

@rdatasculptor
Copy link
Contributor

Bar races, take a look at the example mentioned here: https://www.infoworld.com/article/3607068/plot-in-r-with-echarts4r.html

@rdatasculptor
Copy link
Contributor

Regarding Waterfall scharts, you can use stacked bar charts. Here's an example: https://stackoverflow.com/a/69785189/1983395
Please, close the issue if these examples are what you were looking for. Thanks!

@msgoussi
Copy link
Author

msgoussi commented Mar 7, 2024

@rdatasculptor
Copy link
Contributor

rdatasculptor commented Mar 10, 2024

Which part of the quality of the bar chart race are you referring to? In the end it is all just echarts, rather echarts4r has been used or not. I am pretty sure you can achieve the same quality using echarts4r

@msgoussi
Copy link
Author

The racing bars colors in https://echarts.apache.org/examples/en/editor.html?c=bar-race-country are much prettier and second the racing bars are moving so smooth (not jumping), and number next to bar are counting up, etc

@rdatasculptor
Copy link
Contributor

rdatasculptor commented Mar 17, 2024

TMHO it's all a matter of choosing the right parameters, the right colors and building it entirely the way you prefer. Do you have example code of your attempts? Maybe we can help to improve your code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants