Skip to contents

blockr.ggplot provides interactive blocks for data visualization. Create scatter plots, bar charts, line charts, and more through visual interfaces with real-time preview.

Overview

blockr.ggplot is part of the blockr ecosystem and provides visualization blocks using ggplot2.

Installation

install.packages("blockr.ggplot")

Or install the development version from GitHub:

# install.packages("pak")
pak::pak("BristolMyersSquibb/blockr.ggplot")

Getting Started

Create and launch an empty dashboard:

library(blockr.ggplot)
serve(new_board())

This opens a visual interface in your web browser. Add blocks using the “+” button, connect them by dragging, and configure each block through its settings. Visualizations update in real-time as you build your workflow.

Available Blocks

blockr.ggplot provides visualization blocks using the ggplot block with 9 chart types, plus 3 composition blocks:

Chart Types

  • scatter: relationships between continuous variables
  • bar: compare values across categories
  • line: trends over time or sequences
  • boxplot: distribution statistics across groups
  • violin: distribution shapes with density
  • density: smooth probability distributions
  • area: cumulative magnitude over time
  • histogram: frequency distributions
  • pie/donut: proportions of a whole

Composition

  • facet: split plots into panels by category
  • grid: combine multiple plots into dashboards
  • theme: apply professional styling

See vignette("blockr-ggplot-showcase") for a complete showcase with screenshots and detailed explanations of each block.

Learn More

The blockr.ggplot website includes full documentation and the showcase vignette. For information on the workflow engine, see blockr.core.