This is my replication of the tidytuesday graph from March 14, 2023 created by Jon Harmon on GitHub. It uses data from the European Medicines Agency via Miquel Anglada Girotto.
The original graph is very good: the two plots share a consistent theme, and they work together to tell a story about the evolution of orphan drugs over time.
In class, we talked about how stacked bar charts can be difficult to read. I have swapped out the stacked bar chart for a side-by-side bar chart, which I think shows the changes in amounts of orphan and non-orphan drugs over the years. I also added alt text for both plots and the colorblind-friendly “viridis” theme.
I added plotly tooltips to both graphs to show the number of orphan and non-orphan drugs per year. I thought this would make the graphs easier to read for specific years, especially because the scale markings are far apart.