{"id":17586841,"url":"https://github.com/benst099/circlesplot","last_synced_at":"2025-10-11T12:32:10.706Z","repository":{"id":220370020,"uuid":"751452180","full_name":"BenSt099/circlesplot","owner":"BenSt099","description":"Visualize proportions with circles in a plot","archived":false,"fork":false,"pushed_at":"2024-02-21T09:55:28.000Z","size":6280,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-17T20:27:01.688Z","etag":null,"topics":["cran","cran-r","data-science","data-visualization","proportions","r","visualization"],"latest_commit_sha":null,"homepage":"https://benst099.github.io/circlesplot/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BenSt099.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-01T16:33:15.000Z","updated_at":"2024-02-19T15:26:45.000Z","dependencies_parsed_at":"2024-12-10T03:41:29.682Z","dependency_job_id":"9c31e1a6-0d7f-4304-9999-ce1f5cb53101","html_url":"https://github.com/BenSt099/circlesplot","commit_stats":{"total_commits":48,"total_committers":1,"mean_commits":48.0,"dds":0.0,"last_synced_commit":"5b3d832d5f41464b59b224a032572f3297731e64"},"previous_names":["benst099/circlesplot"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/BenSt099/circlesplot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSt099%2Fcirclesplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSt099%2Fcirclesplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSt099%2Fcirclesplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSt099%2Fcirclesplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenSt099","download_url":"https://codeload.github.com/BenSt099/circlesplot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSt099%2Fcirclesplot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007167,"owners_count":26084247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cran","cran-r","data-science","data-visualization","proportions","r","visualization"],"created_at":"2024-10-22T03:06:31.494Z","updated_at":"2025-10-11T12:32:10.677Z","avatar_url":"https://github.com/BenSt099.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\"\n)\n```\n\n# circlesplot \u003ca href=\"https://github.com/BenSt099/circlesplot\"\u003e\u003cimg src=\"man/figures/circlesplot_sticker.png\" align=\"right\" width=\"138\" height=\"138\"/\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/BenSt099/circlesplot/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/BenSt099/circlesplot/actions/workflows/R-CMD-check.yaml)\n[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/circlesplot)](https://cran.r-project.org/package=circlesplot)\n\u003c!-- badges: end --\u003e\n\n## Overview\n\nThe __circlesplot__ library helps you display proportions between different objects. Say earth is 3.6 times bigger than the moon. How can you visualize that? It would be helpful if you could draw earth and moon with their exact diameter to make your readers aware of the difference in size. This is where the lib comes into play. It plots two circles with the given diameter next to each other, so readers can observe the ratio. Although it is extremely helpful to visualize planets, it can also be used for other things too.\n\n## Installation\n\nInstall the latest version from **CRAN**:\n\n``` r\ninstall.packages(\"circlesplot\")\n```\n\nor the development version from [GitHub](https://github.com/BenSt099/circlesplot):\n\n``` r\ninstall.packages(\"devtools\")\ndevtools::install_github(\"BenSt099/circlesplot\")\n```\n\n\n## Usage\n\nYou can start by plotting the solar system and its planets:\n\n``` r\nlibrary('circlesplot')\nlibrary('viridis')\n\nplanets = c('Mercury','Venus','Earth','Mars','Jupiter','Saturn','Uranus','Neptune')\ndiameter = c(4879.4,12103.6,12756.3,6792.4,142984,120536,51118,49528)\n\ncirclesplot(cp_vals=diameter, cp_text=planets, cp_max=4L, cp_title=\"Planets\", cp_color=viridis(8), cp_sort='desc')\n```\n\n![plot, png-format](man/figures/README-example.png){width=400}\n![plot, pdf-format](man/figures/README-example_3.png){width=400}\n\nThe first plot is exported as *png*, while the second is exported as *pdf*.\n\n## Known issues\n\nYou may see something unexpected in *RStudio*: When you create the plot and it is displayed in the lower right window (in the plots tab), it seems like that a part of the plot is cut off or it's displayed very small. This only happens due to the size of the lower right window. Either resize it or use the following r code to save the plot as *pdf*:\n\n```r\npdf(\"path/to/your/pdf/plot1.pdf\")\ncirclesplot(cp_vals=diameter, cp_text=planets, cp_max=4L, cp_color=viridis(8), cp_title=\"Planets\", cp_sort='desc')\ndev.off() \n```\n\n## Help\n\nIf you need help, take a deeper look into the [manual](https://benst099.github.io/circlesplot/articles/cp_vignette.html) or\nopen an issue [here](https://github.com/BenSt099/circlesplot/issues).\n\n\n## License\n\nThis project is licensed under MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenst099%2Fcirclesplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenst099%2Fcirclesplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenst099%2Fcirclesplot/lists"}