Site icon R-bloggers

Using D3po with Tabler

[This article was first published on https://pacha.dev/blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
< !DOCTYPE html> < charset="utf-8"> < http-equiv="X-UA-Compatible" content="IE=edge"> < name="viewport" content="width=device-width, initial-scale=1.0"> pacha.dev/blog < !-- MathJax Configuration --> < !-- Smart header: libraries detected based on content --> < !-- File: /tmp/tmp.GJlgoXpIJK/index.html -->
  • < !-- DEBUG: Found sourceCode --> < !-- DEBUG: Found d3po --> < !-- Load custom CSS after any library CSS to ensure proper precedence -->
  • < header class="site-top">

    Mauricio “Pachá” Vargas Sepúlveda

    Blog with notes about R, Shiny, SQL, Python, Linux and C++. This blog is listed on R-Bloggers.

    HOME 🏠
    < !-- categories are printed below this--> < nav class="sidebar-nav">

    Categories

    < header id="title-block-header" class="quarto-title-block default">

    Using D3po with Tabler

    D3po+Tabler demo
    Author

    Mauricio “Pachá” Vargas S.

    Published

    October 27, 2025

    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:

    Boxplot with custom background and treemap

    Nested treemap (level 1)

    Nested treemap (level 2)

    I hope it’s useful!

    < footer>

    Loading…

  • < !-- Load shared sidebar -->
    To leave a comment for the author, please follow the link and comment on their blog: https://pacha.dev/blog.

    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.
    Exit mobile version