{"id":22925811,"url":"https://selkamand.github.io/gg1d/","last_synced_at":"2025-08-12T13:32:45.334Z","repository":{"id":65553289,"uuid":"584159185","full_name":"selkamand/gg1d","owner":"selkamand","description":"Automatically Create 1D Plots From Tabular Data","archived":false,"fork":false,"pushed_at":"2024-12-04T08:56:09.000Z","size":10381,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-04T09:38:05.401Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://selkamand.github.io/gg1d/","language":"HTML","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/selkamand.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":"CONTRIBUTING.md","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":"2023-01-01T16:22:12.000Z","updated_at":"2024-12-04T08:54:09.000Z","dependencies_parsed_at":"2024-11-20T02:24:58.944Z","dependency_job_id":"5179eed1-0f0e-42a6-ab48-1836b158adda","html_url":"https://github.com/selkamand/gg1d","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selkamand%2Fgg1d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selkamand%2Fgg1d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selkamand%2Fgg1d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selkamand%2Fgg1d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selkamand","download_url":"https://codeload.github.com/selkamand/gg1d/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228976845,"owners_count":18000681,"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-12-14T09:00:47.744Z","updated_at":"2024-12-14T09:02:09.963Z","avatar_url":"https://github.com/selkamand.png","language":"HTML","funding_links":[],"categories":["Plot layers"],"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  out.width = \"100%\"\n)\n```\n\n# gg1d \u003ca href=\"https://selkamand.github.io/gg1d/\"\u003e\u003cimg src=\"man/figures/logo.png\" align=\"right\" height=\"120\" alt=\"gg1d website\" /\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/selkamand/gg1d/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/selkamand/gg1d/actions/workflows/R-CMD-check.yaml)\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n[![Codecov test coverage](https://codecov.io/gh/selkamand/gg1d/branch/main/graph/badge.svg)](https://app.codecov.io/gh/selkamand/gg1d?branch=main)\n![GitHub Issues or Pull Requests](https://img.shields.io/github/issues-closed/selkamand/gg1d)\n[![code size](https://img.shields.io/github/languages/code-size/selkamand/gg1d.svg)](https://github.com/selkamand/gg1d)\n![GitHub last commit](https://img.shields.io/github/last-commit/selkamand/gg1d)\n\u003c!-- badges: end --\u003e\n\nEffortlessly visualize all columns in a data frame with vertically aligned plots and automatic plot selection based on variable type. Plots are fully interactive, and custom tooltips can be added.\n\n**Why 1 dimensional plots?**\n\nTo understand trends in your data, especially correlative relationships between 2 or more features, it can be useful to densely stack visual representations of each feature vertically, regardless of data type. By unifying the $x$-axis across each plot, **gg1d** turns a series of 1D plots into an $n\\text{-dimensional}$ visualization where $n = \\text{number of columns in dataset}$. \nNote the key idea of gg1d is to 'preserve the individual.' **gg1d** does **NOT** plot distributions of properties, but rather each value of a feature for each subject/observation in the dataset.\n\ngg1d can be used for exploratory data analysis (EDA) or to produce publication quality graphics summarizing a dataset.\n\n\n## Installation\n\n``` r\ninstall.packages(\"gg1d\")\n```\n\n### Development Version\n\nYou can install the development version of gg1d from [GitHub](https://github.com/) with:\n\n``` r\nif (!require(\"remotes\"))\n    install.packages(\"remotes\")\n\nremotes::install_github(\"selkamand/gg1d\")\n```\n\n## Quick Start\n\nFor examples of interactive gg1d plots see the [gg1d gallery](https://selkamand.github.io/gg1d/articles/gallery.html)\n\n```{r, example, fig.width = 7, fig.height = 5}\n# Load library\nlibrary(gg1d)\n\n# Read data\npath_gg1d \u003c- system.file(\"example.csv\", package = \"gg1d\")\ndf \u003c- read.csv(path_gg1d, header = TRUE, na.strings = \"\")\n\n# Plot data, sort by Glasses\ngg1d(\n  df,\n  col_id = \"ID\",\n  col_sort = \"Glasses\",\n  interactive = FALSE,\n  verbose = FALSE,\n  options = gg1d_options(legend_nrow = 2)\n)\n```\n\n## Customise Colours\n\nCustomise colours by supplying a named list to the `palettes` argument\n\n```{r customise_colours, fig.width = 7, fig.height = 5}\ngg1d(\n  df,\n  col_id = \"ID\",\n  col_sort = \"Glasses\",\n  palettes = list(\"EyeColour\" = c(\n    Brown = \"rosybrown4\",\n    Blue = \"steelblue\",\n    Green = \"seagreen\"\n  )),\n  interactive = FALSE,\n  verbose = FALSE,\n  options = gg1d_options(legend_nrow = 2)\n)\n```\n\n## Community Contributions\n\nAll types of contributions are encouraged and valued. See our [guide to\ncommunity contributions](https://selkamand.github.io/gg1d/CONTRIBUTING.html) for different ways to help.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/selkamand.github.io%2Fgg1d%2F","html_url":"https://awesome.ecosyste.ms/projects/selkamand.github.io%2Fgg1d%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/selkamand.github.io%2Fgg1d%2F/lists"}