Duke University + Posit, PBC
With Quarto you can weave together narrative text and code to produce elegantly formatted output as documents, web pages, blog posts, books, and more…
Since Quarto 1.4!
Dashboards are composed of cards.
Cards are arranged into rows and columns.
Pages, tabsets, and sidebars allow for more advanced layouts.
Let’s make a dashboard, step-by-step!
Note
We’ll use R for the computation for building this dashboard, but (just about) everything, i.e., Quarto syntax, would be exactly the same if we were using Python or Julia for the computation.
format: dashboardSlides for this intro: mine.quarto.pub/quarto-dashboards-rmed
Source code for slides: github.com/mine-cetinkaya-rundel/quarto-dashboards-rmed/blob/main/index.qmd
If you would like to follow along or work on it yourself later
Go to the GitHub repo github.com/mine-cetinkaya-rundel/quarto-dashboards-rmed.
Click on Use This Template to create a repo for yourself using this one as a template.
Clone that repo and open it in your preferred IDE / editor.
Start modifying useR25-start.qmd to build your dashboard.
Our goal is to create the following dashboard and then deploy to QuartoPub.

All files needed to build the dashboard can be found at:
useR25.qmd: Quarto file for the dashboardbrand/: Theming files (dark-brand.yml, light-brand.yml, logo.png)data/: program.csvIf you’re interested in participating in the R/Medicine & Posit Raffle, where you can win:
Care package of hex stickers featuring all of your favorite R or Python packages 📦✨
Dedicated time with the Great Tables team (Michael Chow & Rich Iannone) to ask questions, get tips, or just chat about beautiful tables!
