Title: Penguin size and flipper length
Subtitle: PHW251B Assignment 4 Flexdashboard
Data source: palmerpenguins R package
This dashboard uses the palmerpenguins dataset, which includes measurements of adult Adelie, Chinstrap, and Gentoo penguins collected between 2007 and 2009. The dataset has body mass, flipper length, species, and sex. I wanted to look at how body mass and flipper length differ across species. I chose this dataset because it’s clean, easy to work with, and makes it simple to practice building clear visualizations for this dashboard assignment.
In the bar chart (Figure 1), Gentoo penguins have the highest average body mass, Adelie penguins have the lowest, and Chinstrap penguins fall in the middle. In the interactive scatterplot (Figure 2), you can see a clear positive relationship between flipper length and body mass across all species. Gentoo penguins group toward the upper right with longer flippers and higher body mass, while Adelie penguins cluster toward the lower left with shorter flippers and lower body mass. Overall, both visuals show that species, and to some extent sex, are linked to differences in penguin size.
Figure 1. Bar chart showing mean body mass (grams) for each penguin
species.
Figure 2. Interactive scatterplot of body mass and flipper length, colored by species, with hover labels showing species, sex, and measurements.