{"id":13857814,"url":"https://github.com/dill/emoGG","last_synced_at":"2025-07-13T22:31:16.993Z","repository":{"id":55340591,"uuid":"46959696","full_name":"dill/emoGG","owner":"dill","description":":chart_with_upwards_trend::heart_eyes_cat: Emoji in ggplot2 :heart_eyes_cat::chart_with_upwards_trend:","archived":false,"fork":false,"pushed_at":"2023-01-20T00:09:18.000Z","size":4196,"stargazers_count":210,"open_issues_count":8,"forks_count":23,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-07-05T16:39:45.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dill.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-27T04:30:01.000Z","updated_at":"2025-06-13T02:22:17.000Z","dependencies_parsed_at":"2023-02-11T22:45:13.810Z","dependency_job_id":null,"html_url":"https://github.com/dill/emoGG","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dill/emoGG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dill%2FemoGG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dill%2FemoGG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dill%2FemoGG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dill%2FemoGG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dill","download_url":"https://codeload.github.com/dill/emoGG/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dill%2FemoGG/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265218206,"owners_count":23729496,"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","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":[],"created_at":"2024-08-05T03:01:47.698Z","updated_at":"2025-07-13T22:31:16.623Z","avatar_url":"https://github.com/dill.png","language":"R","funding_links":[],"categories":["R","Icons, patterns and images"],"sub_categories":[],"readme":"---\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"figure/\",\n  fig.height = 1\n)\n```\n\n# emoGG(plot)\n\nUse emoji in your `ggplot2` plots.\n\nThis is silly.\n\n## Installation\n\n```r\ndevtools::install_github(\"dill/emoGG\")\n```\n\n## Usage\n\n```{r, load-package}\nlibrary(ggplot2)\nlibrary(emoGG)\n```\n\nFirst need to find an emoji, using the `emoji_search` function. First look for a tulip:\n\n```{r find-tulip}\nemoji_search(\"tulip\")\n```\n\nThe `iris` example with **real** irises (well, tulips...)\n\n```{r iris_ex, fig.height=4, fig.width=4}\nggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +\n  geom_emoji(emoji=\"1f337\")\n```\n\nWhat about plotting `mtcars` with **real** cars?\n\n```{r mtcars, fig.height=4, fig.width=4}\nggplot(mtcars, aes(wt, mpg))+ geom_emoji(emoji=\"1f697\")\n```\n\nWant to map `emoji` as an aesethetic? [Check out this gist](https://gist.github.com/dill/28bb04fc35b51326f01b23d078f5021e)!\n\nSome random cats?\n\n```{r, catplotlib, fig.height=4, fig.width=4}\nposx \u003c- runif(50, 0, 10)\nposy \u003c- runif(50, 0, 10)\nggplot(data.frame(x = posx, y = posy), aes(x, y)) + geom_emoji(emoji=\"1f63b\")\n```\n\nWe can also just put a big emoji in the background:\n\n```{r big-emoji, fig.height=4, fig.width=4}\nqplot(x=Sepal.Length, y=Sepal.Width, data=iris, geom=\"point\") + add_emoji(emoji=\"1f337\")\n```\n\n## Acknowledgements\n\nEmoji lookup is from @muan's [`emojilib`](https://github.com/muan/emojilib).\n\nEmoji are loaded from a CDN using Twitter's [`twemoji`](https://github.com/twitter/twemoji), which is [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/) licensed. You can get attribution details [on the project page](https://github.com/twitter/twemoji#attribution-requirements).\n\nWith apologies, DLM.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdill%2FemoGG","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdill%2FemoGG","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdill%2FemoGG/lists"}