Choosing the right graphic form is just the first step! It’s important to consider how you can enhance your visualization by:

EDS 240: Lab 4
Fundamental chart types in review
Week 4 | January 29th, 2026
Over the past four weeks, we’ve built a toolkit of fundamental chart types—each designed to highlight different patterns, relationships, and insights in your data.
Today’s Goals:
- Select the most effective chart type for your data and message
- Apply design principles to create clear, compelling visualizations
Let’s review the charts in our toolkit and when to use each one!
Distributions
Histograms

Density plots

Ridgeline plots

Box plots

Violin plots

Examples show the distribution of penguin body masses (g) for Adelie, Chinstrap & Gentoo penguins.
Distribution Considerations
Rankings
Bar Plots

Lollipop Plots

Dumbbell Plots

Considerations:
coord_flip)Evolution
Line Charts

Area plots

Stacked area plots

gghighlight()Numeric Relationships
Scatter Plots

2D density plots

- The {ggExtra} can be used to add marginal histograms/ boxplots/ density plots to ggplot scatter plots
- If suitable, you can add a trend line or line of best fit using geom_smooth()
- You can add in a third numeric variable by creating a bubble chart or using color (Use caution and address these challenges)
- Overplotting can disguise trends
- The {ggdensity} provides alternative functions for contour lines and filled contours
Tips for choosing the right graphic form
Most of the above tips are adapted from Alberto Cairo’s The Truthful Art
A Decision Tree for Data Visualization
The From Data to Vis website helps you:
- Navigate from your data type to the right chart
- Understand the purpose of each visualization
- See real examples with code (in R!)
- Avoid common visualization pitfalls
Bookmark this! It’s an invaluable reference when you’re stuck choosing a chart type.

Interactive decision tree walks you through fundamental chart selection
Once you have picked an appropiate graphic form, it’s time to make your viz look its best!
Choosing the right graphic form is just the first step! It’s important to consider how you can enhance your visualization by:
applying pre-made and custom color palettes
updating fonts
adding annotations
fine-tuning themes
centering our primary message
Access Your Assigned Data
Now that you have drawn your dataset, find your specific folder in this repository
How to Load Data
To pull your data directly into R without downloading files to your computer:
.csv file.