Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
If this post is useful to you I kindly ask a minimal donation on Buy Me a Coffee. It shall be used to continue my Open Source efforts.
You can send me questions for the blog using this form and subscribe to receive an email when there is a new post.
D3po and Tabler are Open Source projects that keep government and NGO usage in mind. Both are licensed under the Apache 2.0 license, which means you can use them freely in government or NGO projects without worrying about GPL “infectiousness”.
Highcharter is an excelent R package for creating interactive charts using the Highcharts JavaScript library. It is free to use but you have to pay for a license if you use it for an organization’s project.
D3po is a free alternative to Highcharter, with a focus on fewer features.
After the D3po from last week I got a few questions that I did not document well. Now I added examples for these:
- Can I create nested treemaps? Yes, see this demo package.
- Can I change the background and tooltip colours? Yes, I covered that in the same demo package.
- Can I edit the tooltips and labels? Yes, see the same demo package.
In order to run the demo package, you need to install D3po and Tabler from my R-Universe:
install.packages("d3po", repos = "https://pachadotdev.r-universe.dev")
install.packages("tabler", repos = "https://pachadotdev.r-universe.dev")
Then run the demo package:
if (!require("remotes")) { install.packages("remotes", repos = "https://cloud.r-project.org") }
remotes::install_github("pachadotdev/d3po", subdir = "examples/d3podemo")
d3podemo::run_app()
Here are some screenshots from the demo package:
I hope it’s useful!
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
