All products

Build a Shiny dashboard with AI

Arrange filters, headline figures and charts around the reader’s first question. Preview the layout with a small dataset before connecting the full report.

Build a Shiny dashboard with AI by deciding what someone needs to know before they touch a filter. A library manager looking at loans may want the total for the month, followed by a comparison across branches. That order suggests a headline figure, one chart and a month selector.

The shiny-bslib skill helps an agent assemble those elements in an R application. Its guidance covers page layouts, cards, value boxes, sidebars and navigation. You can work from an existing app or try a small page with sample data while the team agrees on the contents.

What it does

  • Display a headline figure in a value box
  • Keep related filters together in a sidebar
  • Place two related charts in a responsive layout
  • Give a dense chart room to expand
  • Modernise one page of an existing Shiny application

Install and use

  1. Use an R environment with Shiny and bslib and a compatible agent that can edit the project. Supply representative sample data and the question the dashboard should answer.
  2. Ask, “Show total loans and a branch comparison for the selected month. Put the month selector where it remains easy to find on a phone.”
  3. Preview a quiet month and a busy one. Check that the title, units and current selection remain visible when the screen gets narrower.

FAQ

Source

Made by Garrick Aden-Buie. Original skill: shiny-bslib, published on GitHub under the MIT licence.

View on GitHub