Skip to content

ggVennDiagram

1.5.7Package record

A 'ggplot2' Implement of Venn Diagram

3packages dependsuggested by 7
141.3Kdownloads / year
68.7%test coverage
13/13flavors OK

Overview

About

Easy-to-use functions to generate 2-7 sets Venn or upset plot in publication quality. 'ggVennDiagram' plot Venn or upset using well-defined geometry dataset and 'ggplot2'. The shapes of 2-4 sets Venn use circles and ellipses, while the shapes of 4-7 sets Venn use irregular polygons (4 has both forms), which are developed and imported from another package 'venn', authored by Adrian Dusa. We provided internal functions to integrate shape data with user provided sets data, and calculated the geometry of every regions/intersections of them, then separately plot Venn in four components, set edges/labels, and region edges/labels. From version 1.0, it is possible to customize these components as you demand in ordinary 'ggplot2' grammar. From version 1.4.4, it supports unlimited number of sets, as it can draw a plain upset plot automatically when number of sets is more than 7.

Changes in 1.5.7
  • Add sets.bar.numbers.size and sets.bar.numbers.hjust params to plot_upset(). See #81. Thanks to Prof. Nikolaos Korfiatis @nkorf.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE11 OK, 3 NOTE2026-03-30
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-03-28
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.5.7
READMEYes · 702 wordsVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 1.5.7Citation fileNoWebsiteYes · pkgdown
Help pages
27
Examples that run
93%14 run in a plain check · 1 never run
Exported functions with examples
80%
Documented parameters
98%
Return-value docs
80%
Help pages citing references
0%

Downloads

141.3K
CRAN downloads in the past year
Rank #1,139 · ~387/day · ~11.8K/mo
Daily download trend is not available in this view yet.
9.3K30 days
30.8K90 days
141.3K1 year
Compare downloads with other packages →
Also on1.6K r2u8 autocran5.6K conda_forge

Repository

314Stars
46Forks
8Open issues
0Open PRs
9Releases
332Commits
7Commit identities
venn-plotvenn-diagramset-operationsupsetupsetplot
License file reads as GPL-3.0 · 332 commits · Last activity 2026-01-10 · +0.6% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
83%
Median days to close, 50 most recently updated closed issues
7
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-16 · 3032026-10-16 · 314
PracticesBeta

8 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/gaospecial/ggvenndiagram on 2026-10-11.

Continuous integration (1)
GitHub Actions
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-01-11 · The repository has a site deploy workflow

pkgdown site last built 2026-01-11

Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing ggVennDiagram adds 37 packages (16 with compiled code, 23 MB of source tarballs). Heaviest: ggplot2 6.0 MB, patchwork 3.2 MB, isoband 1.5 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
1indirect
Imports 3
Suggested by 7
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (4)
Author, Maintainer since 0.3 (2019)
Author, Copyright holder · added in 1.1.0
Adrian Dusa is the author and copyright holder of venn, where ggVennDiagram imports the polygon coordinates enabling 5…
Contributor · added in 1.4.9
Contributor
Releases (13)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.5.7Latest
    record
    2026-01-10 · current release · diff ↗
  • 1.5.4
    record
    2025-06-21 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.5.2
    record
    2024-02-20 · diff ↗
  • 1.5.0
    record
    2024-01-13 · diff ↗
  • 1.4.9
    record
    2023-12-22 · diff ↗ ·
    removed 17 exports
    %>%, Polygon, build_shape, circle, ellipse, fancy_2d_circle, fancy_2d_circle_label, fancy_3d_circle, fancy_3d_circle_label, fancy_4d_ellipse, fancy_4d_ellipse_label, fancy_6d_triangle, fancy_6d_triangle_label, label_position, process_setEdge_data, process_setLabel_data, triangle
    added 9 exports
    get_shape_by_id, get_shapes, launch_app, plot_shape_edge, plot_upset, process_set_data, venn_regionedge, venn_regionlabel, venn_set
  • 1.2.3
    record
    2023-08-14 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.2
    record
    2022-09-08 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.0
    record
    2021-10-22 · diff ↗
  • 1.1.4
    record
    2021-07-07 · diff ↗ ·
    added 11 exports
    build_shape, fancy_2d_circle, fancy_2d_circle_label, fancy_3d_circle, fancy_3d_circle_label, fancy_4d_ellipse, fancy_4d_ellipse_label, fancy_6d_triangle, fancy_6d_triangle_label, label_position, plotData_add_venn
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.0
    record
    2021-05-08 · diff ↗ ·
    added 1 export
    plot_venn
Show 5 earlier eventsHide 5 earlier events
  • 1.0.7
    record
    2021-04-28 · diff ↗ ·
    removed 4 exports
    four_dimension_ellipse_regions, get_region_items, three_dimension_circle_regions, two_dimension_circle_regions
    added 16 exports
    %>%, Polygon, Venn, circle, discern_overlap, ellipse, get_shape_data, plot_shapes, process_data, process_region_data, process_setEdge_data, process_setLabel_data, triangle, venn_region, venn_setedge, venn_setlabel
  • 0.5.0
    record
    2021-02-28 · diff ↗ ·
    added 4 exports
    four_dimension_ellipse_regions, get_region_items, three_dimension_circle_regions, two_dimension_circle_regions
  • R
    R 4.0.0 released · 2020-04-24
  • 0.3
    record
    2019-10-09
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-10-09
Total releases
13 / 7 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Download size
4.8 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ggVennDiagram")
Gao, C., Akyol, T. Y., Dusa, A., & Yu, G. (2026). ggVennDiagram: A 'ggplot2' Implement of Venn Diagram (Version 1.5.7) [Computer software]. https://doi.org/10.32614/CRAN.package.ggVennDiagram

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ggVennDiagram version 1.5.7 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy