Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.0%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: Antiprotony
  • Language: R
  • Default Branch: main
  • Size: 60.5 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme Citation

README.md

The Planetary Palette: ggplot2 Color Scales Inspired by the Solar System

Introduction

ggplot2PlanetPalettes is an R package that provides color palettes inspired by the planets, moons, and asteroids of our Solar System. These palettes are designed for use with ggplot2, supporting both discrete and continuous scales.

Installation

You can install ggplot2PlanetPalettes directly from GitHub using the remotes package:

r install.packages("remotes") remotes::install_github("Antiprotony/ggplot2PlanetPalettes")

Usage

Load the library after installation:

r library(ggplot2PlanetPalettes)

Discrete Color Palettes

Use scale_color_planet_discrete() for categorical variables.

r ggplot(data_discrete, aes(x, y, color = group)) + geom_point(size = 5) + scale_color_planet_discrete("Earth") + theme_minimal()

Continuous Color Palettes

Use scale_color_planet_continuous() for continuous data.

r ggplot(data_continuous, aes(x, y, color = z)) + geom_point(size = 3) + scale_color_planet_continuous("Mars") + theme_minimal()

Available Palettes

The following celestial bodies are supported: - Planets: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune - Moons: Moon, Io, Europa, Ganymede, Callisto, Titan, Enceladus, Triton - Asteroids: Ceres, Vesta, Pallas

License

This package is licensed under the MIT License.

Contributions

Contributions are welcome! Feel free to open an issue or submit a pull request on GitHub.

Acknowledgments

Inspired by Mattia Esposito and by the beauty of our Solar System and the power of ggplot2.

Citation

If you use "ggplot2PlanetPalettes" in your work, please cite it as: Luca Tonietti. (2025). The Planetary Palette: ggplot2 Color Scales Inspired by the Solar System (v1.0.0). Zenodo. https://doi.org/10.5281/zenodo.14755864

Owner

  • Login: Antiprotony
  • Kind: user

Citation (CITATION.CFF)

cff-version: 1.2.0
message: "If you use this package, please cite it as below."
title: "The Planetary Palette: First release of ggplot2PlanetPalettes"
version: 1.0.0
doi: 10.5281/zenodo.14755864
date-released: 2025-01-28
authors:
  - family-names: Tonietti
    given-names: Luca
    orcid: <your-ORCID-id> # Optional, add your ORCID if you want
identifiers:
  - type: doi
    value: 10.5281/zenodo.14755864
  - type: url
    value: https://github.com/Antiprotony/ggplot2PlanetPalettes
repository-code: https://github.com/Antiprotony/ggplot2PlanetPalettes
keywords:
  - ggplot2
  - data visualization
  - R package
  - celestial bodies
  - Solar System
abstract: >
  ggplot2PlanetPalettes is an R package that provides color palettes inspired by the celestial
  bodies of the Solar System. Designed to enhance data visualization in ggplot2, this package
  includes both discrete and continuous palettes, optimized for accessibility and inspired by
  the unique visual characteristics of planets, moons, and asteroids.

GitHub Events

Total
  • Release event: 1
  • Push event: 13
  • Create event: 3
Last Year
  • Release event: 1
  • Push event: 13
  • Create event: 3