NEWS


dashboardr 0.6.1

Internal


dashboardr 0.6.0

Bug Fixes

Gallery

Test Improvements


dashboardr 0.5.2

Metric Card Redesign (Issue #15)

add_metric() / html_metric() now renders as a modern KPI card with centered text, gradient background, and bold value display — matching the preview() style. Previously, generate_dashboard() and preview() produced different metric visuals.

New Parameters

Layout Fixes


dashboardr 0.5.1

New Features

Deferred Charts

Cross-Tab Asset Mode

Input Enhancements

Page Slugs

Timeline Data Labels

Multi-Backend Viz Improvements

Bug Fixes

Documentation & Packaging


dashboardr 0.5.0

New Features

Standalone HTML Export

New Vignettes

Enhanced Metric Cards

Layout Row Styling

HTML Helper Functions

Bug Fixes

Layout Row Metrics (Issue #15)

Internal

dashboardr 0.4.2

New Features

Widget Convenience Wrappers

New exported convenience functions for embedding charts from alternative backends:

MCP Server for LLM Assistants

Bug Fixes

Content Tabgroups (Issue #14)

CI Stability

dashboardr 0.4.1

Bug Fixes

Content Tabgroups (Issue #14)

dashboardr 0.4.0

Bug Fixes

Cross-Tab Stacked Bar Labels (Critical)

Quarto Discovery

Documentation & Tests

New Features

Multi-Backend Chart Support

All 17 visualization functions now support a backend parameter for rendering with different charting libraries. The default backend remains "highcharter" for full backward compatibility.

Supported backends: "highcharter" (default), "plotly", "echarts4r", "ggiraph".

# Per-chart backend selection
viz_bar(data, x_var = "category", backend = "plotly")
viz_timeline(data, time_var = "year", y_var = "value", backend = "echarts4r")

# Dashboard-wide backend (applies to all charts)
create_dashboard(title = "My Dashboard", backend = "plotly")

Alternative backends are optional dependencies (in Suggests). Install only what you need:

install.packages(c("plotly", "echarts4r", "ggiraph"))

Widget Embedding

New functions for embedding arbitrary htmlwidgets in dashboards:

library(plotly)
my_plot <- plot_ly(mtcars, x = ~wt, y = ~mpg, type = "scatter", mode = "markers")
collection <- content_collection() + add_plotly(my_plot, title = "Weight vs MPG")

dashboardr 0.3.0

New Features

Community Gallery

About Pages for Demo Dashboards

Bug Fixes

Input Filtering


dashboardr 0.2.1

New Features

Sidebar Dashboards with Cross-Tab Filtering

New sidebar-based dashboard pattern with client-side cross-tab filtering. Sidebar radio/checkbox inputs dynamically filter and rebuild Highcharts visualizations (stacked bars and timelines) without server round-trips.

Stacked Bar Enhancements

Timeline Enhancements

Client-Side Filtering (JS)

Bug Fixes

Demo


dashboardr 0.2.0

Bug Fixes

Pagination Fix

Tabgroup Improvements


dashboardr 0.1.0

Unified Stacked Bar Chart Function

viz_stackedbar() is now a unified function that supports two modes:

Mode 1: Grouped/Crosstab (use x_var + stack_var)

# Show how one variable breaks down by another
viz_stackedbar(data, x_var = "education", stack_var = "gender")

Mode 2: Multi-Variable/Battery (use x_vars)

# Compare multiple survey questions side-by-side
viz_stackedbar(data, x_vars = c("q1", "q2", "q3"))

This eliminates confusion between viz_stackedbar() and viz_stackedbars() - you now only need to remember one function! The function automatically detects which mode to use based on the parameters you provide.

Migration from viz_stackedbars(): Simply change the function name - all parameters work the same way:

# Old way (still works, shows deprecation notice)
viz_stackedbars(data, x_vars = c("q1", "q2", "q3"))

# New preferred way
viz_stackedbar(data, x_vars = c("q1", "q2", "q3"))

The viz_stackedbars() function is soft-deprecated and will continue to work, but we recommend using viz_stackedbar() for all new code.

Breaking Changes

Visualization Function Renaming

All create_* visualization functions have been renamed to viz_* for clarity and to distinguish them from dashboard-level creation functions:

| Old Name | New Name | |----------|----------| | create_histogram() | viz_histogram() | | create_bar() | viz_bar() | | create_stackedbar() | viz_stackedbar() | | create_stackedbars() | viz_stackedbars() | | create_timeline() | viz_timeline() | | create_heatmap() | viz_heatmap() | | create_scatter() | viz_scatter() | | create_map() | viz_map() | | create_treemap() | viz_treemap() |

The old function names are deprecated and will show a warning when used. They will be removed in a future version.

Migration: Simply replace create_ with viz_ in your code.

Timeline Parameter Renaming

Timeline chart parameters have been renamed for consistency with other visualization types:

| Old Name | New Name | |----------|----------| | response_var | y_var | | response_filter | y_filter | | response_filter_combine | y_filter_combine | | response_filter_label | y_filter_label | | response_levels | y_levels | | response_breaks | y_breaks | | response_bin_labels | y_bin_labels |

New Features

Error Bars Support in Bar Charts

viz_bar() now supports error bars for displaying uncertainty in mean values:

Example usage:

# Bar chart with means and 95% CI
viz_bar(
  data = mtcars,
  x_var = "cyl",
  value_var = "mpg",
  error_bars = "ci",
  title = "Mean MPG by Cylinders"
)

# Grouped bars with standard error
viz_bar(
  data = mtcars,
  x_var = "cyl",
  group_var = "am",
  value_var = "mpg",
  error_bars = "se"
)

Early Validation for Visualizations

New Visualization Types

Histogram Improvements

Data Labels Control

Documentation

Bug Fixes