Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasp85/ggforce
Accelerating ggplot2
https://github.com/thomasp85/ggforce
ggplot-extension ggplot2 rstats visualization
Last synced: 5 days ago
JSON representation
Accelerating ggplot2
- Host: GitHub
- URL: https://github.com/thomasp85/ggforce
- Owner: thomasp85
- License: other
- Created: 2016-01-02T16:16:58.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2024-02-19T13:37:13.000Z (11 months ago)
- Last Synced: 2025-01-02T22:06:35.295Z (12 days ago)
- Topics: ggplot-extension, ggplot2, rstats, visualization
- Language: R
- Homepage: https://ggforce.data-imaginist.com
- Size: 227 MB
- Stars: 916
- Watchers: 26
- Forks: 104
- Open Issues: 60
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- fucking-awesome-R - ggforce - ggplot2 extension framework ![ggforce](https://cranlogs.r-pkg.org/badges/ggforce) (2019)
- awesome-r-dataviz - ggforce - Accelerating ggplot2. [[Tutorial 1]](https://www.data-imaginist.com/2019/the-ggforce-awakens-again/) [[Tutorial 2]](https://rviews.rstudio.com/2019/09/19/intro-to-ggforce/) (ggplot / Miscellaneous)
- awesome-R - ggforce - ggplot2 extension framework ![ggforce](https://cranlogs.r-pkg.org/badges/ggforce) (2019)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# ggforce[![R-CMD-check](https://github.com/thomasp85/ggforce/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/thomasp85/ggforce/actions/workflows/R-CMD-check.yaml)
[![CRAN_Release_Badge](http://www.r-pkg.org/badges/version-ago/ggforce)](https://CRAN.R-project.org/package=ggforce)
[![CRAN_Download_Badge](http://cranlogs.r-pkg.org/badges/ggforce)](https://CRAN.R-project.org/package=ggforce)*Accelerating ggplot2*
`ggforce` is a package aimed at providing missing functionality to `ggplot2`
through the extension system introduced with `ggplot2` v2.0.0. Broadly speaking
`ggplot2` has been aimed primarily at explorative data visualization in order to
investigate the data at hand, and less at providing utilities for composing
custom plots a la [D3.js](https://d3js.org). `ggforce` is mainly an attempt to
address these "shortcomings" (design choices might be a better description). The
goal is to provide a repository of geoms, stats, etc. that are as well
documented and implemented as the official ones found in `ggplot2`.## Installation
You can install the released version of ggforce from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("ggforce")
```And the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("thomasp85/ggforce")
```## Features
`ggforce` is by design a collection of features with the only commonality being
their tie to the `ggplot2` API. Because of this an overview of all features
would get too long for a README. The package has a [website](https://ggforce.data-imaginist.com)
where every feature is described and justified with examples and plots. There
should be a plot in the README of a visualization package though, so without
further ado:```{r example}
library(ggforce)
ggplot(iris, aes(Petal.Length, Petal.Width, colour = Species)) +
geom_point() +
facet_zoom(x = Species == "versicolor")
```## Code of Conduct
Please note that the 'ggforce' project is released with a
[Contributor Code of Conduct](https://ggforce.data-imaginist.com/CODE_OF_CONDUCT.html).
By contributing to this project, you agree to abide by its terms.