flowchart LR
A["<b>Data</b><br/><br/>Your tibble"]
B["<b>Aesthetics</b><br/><br/><code>aes()</code><br/>map variables to visuals"]
C["<b>Geometry</b><br/><br/><code>geom_*()</code><br/>what shape represents data"]
D["<b>Statistics</b><br/><br/><code>stat_*()</code><br/>transform before plotting"]
E["<b>Scales</b><br/><br/><code>scale_*()</code><br/>data space → visual space"]
F["<b>Facets</b><br/><br/><code>facet_*()</code><br/>small multiples"]
G["<b>Coordinates</b><br/><br/><code>coord_*()</code><br/>how axes are laid out"]
H["<b>Theme</b><br/><br/><code>theme_*()</code><br/>non-data ink"]
A --> B --> C --> D --> E --> F --> G --> H
style A fill:#ffe5cc,stroke:#cc6600
style B fill:#e6f0ff,stroke:#3366cc
style C fill:#e6f0ff,stroke:#3366cc
style D fill:#e6f0ff,stroke:#3366cc
style E fill:#e6f0ff,stroke:#3366cc
style F fill:#e6f0ff,stroke:#3366cc
style G fill:#e6f0ff,stroke:#3366cc
style H fill:#e5f5e5,stroke:#339933




















































































