~/ domain/tidyverse.org.mdTHE AGENT-READABLE WEB

tidyverse.org valid

ggplot2

Visit publisher ↗

For agents: Reference documentation for ggplot2, the R data visualization package: ggplot(), layers, geoms, aesthetics, annotations, labels and saving plots.

ggplot2r packagedata visualizationplottinggeoms

Authority
52 reach 15 · trust 10 · quality 12 · freshness 15
Tier
listed
llms.txt
https://ggplot2.tidyverse.org/llms.txt
Sections
20
Links
451
Size
49022 bytes
Popularity rank
#24289
Registered
2016-08-23
Country
United States Hosting inference
Hosting country
United States Hosting inference
Country evidence
No published address evidence collected yet
Categories
Data and analytics · Developer tools · Documentation and reference
For agents
Documentation: developer or product docs worth reading, nothing to call
Inferred actions
Read documentation About these labels
Audience
developers · agents can: read docs · en
First seen
2026-10-18T15:08:54.430Z
Last checked
2026-10-23T01:41:25.732Z
Badge
Agent Web Map badge for tidyverse.org

Their llms.txt

The beginning of the file, from our validated copy saved 2026-10-23T01:41:25.038Z. Cached copy · Source on tidyverse.org

# ggplot2

## Overview

ggplot2 is a system for declaratively creating graphics, based on [The
Grammar of
Graphics](https://link.springer.com/book/10.1007/0-387-28695-0). You
provide the data, tell ggplot2 how to map variables to aesthetics, what
graphical primitives to use, and it takes care of the details.

## Installation

``` r
# The easiest way to get ggplot2 is to install the whole tidyverse:
install.packages("tidyverse")

# Alternatively, install just ggplot2:
install.packages("ggplot2")

# Or the development version from GitHub:
# install.packages("pak")
pak::pak("tidyverse/ggplot2")
```

## Cheatsheet

[![ggplot2
cheatsheet](https://raw.githubusercontent.com/rstudio/cheatsheets/master/pngs/thumbnails/data-visualization-cheatsheet-thumbs.png)](https://github.com/rstudio/cheatsheets/blob/master/data-visualization.pdf)

## Usage

It’s hard to succinctly describe how ggplot2 works because it embodies a
deep philosophy of visualisation. However, in most cases you start with
[`ggplot()`](https://ggplot2.tidyverse.org/reference/ggplot.md), supply
a dataset and aesthetic mapping (with
[`aes()`](https://ggplot2.tidyverse.org/reference/aes.md)). You then add
on layers (like
[`geom_point()`](https://ggplot2.tidyverse.org/reference/geom_point.md)
or
[`geom_histogram()`](https://ggplot2.tidyverse.org/reference/geom_histogram.md)),
scales (like
[`scale_colour_brewer()`](https://ggplot2.tidyverse.org/reference/scale_brewer.md)),
faceting specifications (like
[`facet_wrap()`](https://ggplot2.tidyverse.org/reference/facet_wrap.md))
and coordinate systems (like
[`coord_flip()`](https://ggplot2.tidyverse.org/reference/coord_flip.md)).

``` r
library(ggplot2)

ggplot(mpg, aes(displ, hwy, colour = class)) +
  geom_point()
```

![Scatterplot of engine displacement versus highway miles per gallon,
for 234 cars coloured by 7 'types' of car. The displacement and miles
per gallon are inversely
correlated.](reference/figures/README-example-1.png)

## Lifecycle
…

Related sites

Other listed sites in Data and analytics. See the whole category →

DomainTitleCategoryCountryAuthorityllms.txtllms-full.txtSave
intellweb.ai Intellweb documentation Ecommerce Productivity +3 US 61 ✓ ✓
amplitude.com Amplitude documentation AI and machine learning Data and analytics +1 US 71 ✓ ✓
canonical.com Canonical documentation Data and analytics Infrastructure +1 GB 70 ✓ ✓
conviva.com Conviva informational AI and machine learning Data and analytics +2 US 70 ✓ ✓
databricks.com Databricks interface AI and machine learning Data and analytics +1 — 70 ✓ ✓
opentext.com OpenText documentation Cybersecurity Finance and payments +4 CA 70 ✓ ✓
singular.net Singular – end-to-end attribution and analytics platform documentation Data and analytics Marketing US 69 ✓
carto.com CARTO documentation AI and machine learning Data and analytics US 68 ✓ ✓

Machine-readable: GET /v1/resolve?q=tidyverse.org · GET /v1/domain/tidyverse.org · this page as Accept: application/json or text/markdown · MCP lookup_domain

Automatically discovered from public files. Inclusion does not imply endorsement or publisher participation.

Own or manage this website?

If you own or manage tidyverse.org, you can update its listing and review file health, discovery activity and score history.

Manage this listing — optional

What verification unlocks

See how your site is discovered—and control what agents see.

  • Control what agents see

    Edit your listing description, tags, public contact details and additional llms.txt paths. Publish your terms for automated access, attribution and pricing.

  • Make your profile eligible for search

    A valid, listed, unblocked, verified profile can appear in our publisher sitemap and become eligible for search-engine visibility. Search engines decide what to index and rank.

  • Appear in our llms-full.txt

    Eligible verified publishers are listed by name, with their file links and summaries, in the service overview agents can read.

Free. No account registration, backlink or payment required. Public discovery remains available without verification.

Verify your website—free

Preview the owner dashboard · All verification benefits

Let your coding agent verify it

If your coding agent is authorized to manage this website, paste these instructions into it.

Claim my listing on Agent Web Map for tidyverse.org:
1. POST https://agentwebmap.com/v1/sites/tidyverse.org/claims and keep claim_id and claim_secret private.
2. Publish the proof: add the line "AgentWebMap ownership: <token>" (token from step 1) to https://tidyverse.org/llms.txt, or use the DNS, meta-tag or well-known method the response describes.
3. POST https://agentwebmap.com/v1/sites/tidyverse.org/verify with {"claim_id": "...", "claim_secret": "..."}.
4. Save the api_key from the answer; it manages the listing (PATCH https://agentwebmap.com/v1/sites/tidyverse.org).
MCP equivalent: tools begin_ownership_claim, then verify_domain, at https://agentwebmap.com/mcp. Docs: https://agentwebmap.com/docs#verify

Corrections or removal requests: contact the directory.

agent web map / a clearer way in.API & MCP · Contact