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
Common Plot Types with ggplot2
Single Variable Distributions
Histograms
geom_histogram()
Bin Width Selection
Bin Boundaries
Multiple Histograms
Density Plots
geom_density()
Kernel Density Estimation
Bandwidth Selection
Multiple Densities
Frequency Polygons
geom_freqpoly()
Comparison with Histograms
Box Plots
geom_boxplot()
Single Group Boxplots
Grouped Boxplots
Outlier Handling
Violin Plots
geom_violin()
Distribution Shape
Combining with Boxplots
Dot Plots
geom_dotplot()
Dot Stacking
Binning Methods
Two Variable Relationships
Scatter Plots
geom_point()
Point Customization
Overplotting Solutions
Multiple Groups
Line Plots
geom_line()
Time Series
Multiple Lines
Line Customization
Smooth Lines
geom_smooth()
Linear Smoothing
Nonlinear Smoothing
Confidence Intervals
Multiple Smoothers
Area Plots
geom_area()
Stacked Areas
Area Customization
Categorical Data Visualization
Bar Charts
geom_bar() for Counts
geom_col() for Values
Bar Customization
Grouped Bar Charts
position_dodge()
Side-by-side Bars
Stacked Bar Charts
position_stack()
Proportional Stacking
Filled Bar Charts
position_fill()
Percentage Representation
Text and Label Visualization
Text Labels
geom_text()
Text Positioning
Text Formatting
Label Boxes
geom_label()
Background Styling
Border Options
Repelling Labels
ggrepel Package
Avoiding Overlaps
Previous
4. The Grammar of Graphics with ggplot2
Go to top
Next
6. Advanced ggplot2 Techniques