๐จ brutalviz
May 7, 2025 ยท View on GitHub
brutalviz is a collection of bold and beautiful ggplot2 themes that bring striking aesthetics and professional polish to your data visualizations. With integrated support for Google Fonts via showtext, each theme is designed for clarity, impact, and reproducibility across platforms and output formats.
โจ Features
- ๐งฑ Neo-Brutalist theme โ sharp, gridded, typographic emphasis with 'Anton' font
- ๐ Pastel Minimal โ soft, clean elegance with 'Quicksand'
- ๐ Dark Dashboard โ dark mode for dashboards and reports using 'Fira Sans'
- ๐ป Flat Fun โ playful, modern, colorful visuals with 'Baloo 2'
- ๐ก Google Fonts are loaded automatically with
showtext
All themes are built for ggplot2, compatible with static and interactive output, and ideal for dashboards, presentations, and publishing.
๐ฆ Installation
# install.packages("devtools") # if needed
devtools::install_github("yourusername/brutalviz")
๐ง Usage
library(ggplot2)
library(brutalviz)
ggplot(mtcars, aes(wt, mpg, color = factor(cyl))) +
geom_point(size = 3) +
labs(title = "Neo-Brutalist Style") +
theme_neo_brutalist()
You can swap in any of the following:
theme_pastel_minimal()
theme_dark_dashboard()
theme_flat_fun()
๐ Fonts & Rendering
This package uses showtext to automatically load and embed Google Fonts:
Anton(Neo-Brutalist)Quicksand(Pastel)Fira Sans(Dark)Baloo 2(Fun)
Plots render crisply in RMarkdown, Quarto, PDFs, and PNGs without local font installations.
๐ Project Structure
brutalviz/
โโโ R/ # Theme functions
โโโ man/ # Auto-generated documentation
โโโ DESCRIPTION # Package metadata
โโโ NAMESPACE # Export declarations
โโโ README.md # You're reading it
โ To Do
- Add theme-specific color palettes
- Create Quarto demo gallery
- Publish pkgdown site
๐คช Contributing
Contributions welcome! Feel free to fork and submit a pull request if you have new theme ideas or improvements.
๐ License
MIT License ยฉ Lasse, 2025 Use freely in personal, academic, or commercial projects.