Useful Links
Computer Science
Data Visualization
Data Visualization in R
1. Introduction to Data Visualization in R
2. Foundations of R for Data Visualization
3. Base R Graphics
4. The Grammar of Graphics with ggplot2
5. Common Plot Types with ggplot2
6. Advanced ggplot2 Techniques
7. Interactive and Dynamic Visualizations
8. Specialized Visualizations
9. Design Principles and Best Practices
10. Output and Sharing
Advanced ggplot2 Techniques
Scale Customization
Continuous Scales
scale_x_continuous()
scale_y_continuous()
scale_color_continuous()
scale_fill_continuous()
Discrete Scales
scale_x_discrete()
scale_y_discrete()
scale_color_discrete()
scale_fill_discrete()
Manual Scales
scale_color_manual()
scale_fill_manual()
scale_shape_manual()
scale_size_manual()
Color Scales
ColorBrewer Palettes
Viridis Palettes
Custom Color Palettes
Axis Transformations
Logarithmic Scales
Square Root Scales
Reverse Scales
Custom Transformations
Scale Formatting
Number Formatting
Date Formatting
Percentage Formatting
Custom Formatters
Faceting Systems
facet_wrap() Details
Single Variable Faceting
Layout Control
Label Customization
facet_grid() Details
Two Variable Faceting
Row and Column Facets
Margin Summaries
Facet Scales
Fixed Scales
Free Scales
Free X or Y Scales
Facet Labels
Custom Labellers
Mathematical Expressions
Coordinate System Modifications
Coordinate Flipping
coord_flip()
Horizontal Charts
Fixed Coordinates
coord_fixed()
Aspect Ratios
Polar Coordinates
coord_polar()
Pie Charts
Circular Plots
Cartesian Limits
coord_cartesian()
Zooming vs Filtering
Theme Customization
Built-in Themes
theme_gray()
theme_bw()
theme_minimal()
theme_classic()
theme_void()
Theme Elements
Text Elements
Line Elements
Rectangle Elements
Element Inheritance
Custom Theme Creation
Modifying Existing Themes
Creating New Themes
Theme Functions
Specific Theme Modifications
Plot Background
Panel Background
Grid Lines
Axis Elements
Legend Elements
Strip Elements
Annotations and Labels
Plot Labels
labs() Function
Title and Subtitle
Axis Labels
Caption
Annotations
annotate() Function
Text Annotations
Shape Annotations
Arrow Annotations
Reference Lines
geom_hline()
geom_vline()
geom_abline()
Highlighting Regions
geom_rect()
geom_ribbon()
Plot Composition
patchwork Package
Simple Composition
Complex Layouts
Nested Layouts
Shared Legends
cowplot Package
Plot Alignment
Shared Axes
Annotation Layers
gridExtra Package
Grid Arrangements
Table Grobs
Previous
5. Common Plot Types with ggplot2
Go to top
Next
7. Interactive and Dynamic Visualizations