Portfolio Project Examples for Independent Data Science Projects

Are you a data scientist who is interested in doing independent portfolio projects to sharpen your skills? Then I strongly suggest you get a coach or a mentor.

Portfolio project examples are things I’m asked about by newbie data scientists on LinkedIn or otherwise in my professional life. They ask,

“I did projects in college, and I also did a Kaggle competition. Is that enough?”

They mean – is that enough to learn applied data science, and be ready for a job that requires the kind of problem-solving data scientists do?

The answer is, unfortunately, “No” – those experiences are not really portfolio project examples. A portfolio project that counts towards preparing you for problem-solving in a real data science job is one where you did it almost completely independently. In other words, you did all of these four steps pretty much independently:

This is the first step to the data science project

You came up with a research question or aim all by yourself in a domain that interests you.

Second step in a data science project

You found a dataset you could use to answer it.

Third step in a data science project

You did a scientifically-acceptable job of answering the research question using data management and statistical skills, and.

Fourth step in a data science learning path

You document this experience – introduction, methods, results, discussion – in a white paper or a blog post (or series of blog posts).

This documentation – step 4 -is technically the “portfolio project” – and is where you can post code on GitHub, or display a dashboard or notebook, or showcase whatever technological output you got from your experience.

I used to see portfolio projects in data science as “the great equalizer”. That is because – with open source software like R and Python, and with datasets easily downloadable online – anyone can do one. Better yet, anyone can actually publish the results of their portfolio project examples on a blog post for the world to access and see.

However, I neglected to realize a practical problem with this approach. Creating and posting portfolio project examples is not that easy for a newbie in data science. The newbie data scientist may have learned about all of those four steps independently, but does not know how to put them together into a cohesive project they can showcase. Even learners who came to me after studying in college classes and boot camps see the same problem of fragmentation in data science education programs.

Mentoring is the Solution

If making portfolio project examples is your problem, mentoring is the solution. I am among the different data science mentors you can hire to help you individually – but for doing data science portfolio projects, it’s better to be in a group mentoring program like my “rebrand” online group mentoring program for health data scientists.

In this blog post, I will give a few portfolio project examples you could do if you participated in our mentoring program.

Portfolio Project Examples 1: Laboratory Value Correlations


I had a learner who was working on some data about cytokines, which are typically described as “chemical messengers” in our central nervous system. Those of you who study cytokines know that they are often measured with a PCR test, and the resulting values are continuous variables. There are “inflammatory cytokines” and “anti-inflammatory cytokines”, and just by me telling you this, you can already guess that the different cytokine measurements are correlated with each other.

Having huge datasets of “correlated continuous variables” is a big problem in Big Data. Since they are all correlated, which ones should you use in your model? Or should you make an index of them? Or maybe classify them? What do you actually do with all these correlated measurements? Worse, what steps do you take to figure it out, and get endorsement along the way from your boss (who doesn’t understand any of this)?

She was the main statistician on her team, and was asked to “prepare” the cytokine data – or maybe, “analyze” the cytokine data? The researchers with her were surgeons, so they had no idea how to do any research (those four steps above). She basically had to “do something” with the cytokine data to make sense out of it.


So, to give her the skills she needed to figure that puzzle out, I recommended that she do a portfolio project with the NHANES Laboratory Data available in the 2017-2018 dataset. The laboratory data available includes lipid results (HDL, LDL, triglycerides) and other measurements that have a lot of biological evidence behind them you can study in the scientific literature.

By contrast, cytokines are basically “Twitter of the CNS”, so I can’t see why analyzing them would do any good – but it continues to be trendy for some reason. My thought was that the learner could practice by using continuous variables from real people that we actually understand, and figure out how to visualize them, categorize them, and describe them. Then, she can apply her skills to these cytokine data, which – if you believe the extensive scientific literature on cytokine analysis – will probably make little sense when she’s done. But since she practiced on lipids, which actually do make sense and have an evidence base, she’ll understand what it is “supposed” to look like when you can actually interpret the relationships between the correlated continuous measurements.

Project Details

The way my mentoring program works is that there are four self-paced phases. Once you have completed Phase 4, you would have completed all four steps above about a research question. You will have made several posts on a public blog to showcase your work. The blog is the home to your portfolio projects, and links to your GitHub account. Then, after you complete Phase 4, you can continue in the program doing follow-up analyses or fancier visualizations on the same dataset, and continuing to post them on your blog to add to your portfolio project.

For this learner, I would try to have her produce output in the form of box plots and scatter plots to help us figure out the best way to characterize the relationship between these different laboratory values. Then, she could make several blog posts showcasing how she selected the lab values she analyzed, how she curated her data, what visualizations ultimately “spoke” to her and why, and what she finally decided was the best way to present the data so we understand the relationships between the variables.

Portfolio Project Examples 2: Pharmaceutical Adverse Events


It’s not unusual for me to meet a new SAS learner on LinkedIn who wants to make a portfolio project example having to do with data from “Big Pharma”. As we know, pharmaceutical companies are famously jealous guardians of their proprietary data. Learners may erroneously believe that they cannot get experience with data to impress “Big Pharma” without actually having worked for “Big Pharma”.


But the fact that we cannot access private data from pharmaceutical companies should not stop us from doing pharmacy-related analyses. Just about every country has an adverse event reporting system for medications that are widely in use. In the US, we have the FDA Adverse Evens Reporting System (FAERS) which publishes many resources online, including a dashboard to help you navigate their data.

Imagine a SAS learner in my program wanted to do a portfolio project on pharmaceutical data. They could start with this FAERS data. In the last example, I talked about lipids – now, let’s do an example with lipid-lowering drugs, like Lipitor. I looked up some common ones online, and entered that into the search engine on the dashboard. See what I found already?

Are you interested in analyzing pharmaceutical data? You can study adverse events which are reported after the drug is available.

As you can see in the annotated screen shot I made, for some reason, there was this huge spike in adverse events for these drugs in 2021 and 2022!

Project Details

As you can see by my little example above, we already have a potential portfolio project for the newbie pharma data scientist – figuring out why there is a spike in adverse events for lipid-lowering drugs for 2021 and 2022! Of course, the person doing the project would have to download and process the raw data from FAERS. That is possible with the FDA data – but the dashboard can allow you to do preliminary analyses and figure out what data you want, and what project you want to do. In this case, I would recommend the learner use SAS ODA for practice, because Big Pharma greatly values SAS skills.

Portfolio Project Examples 3: Impact of Health Insurance on Populations


I have been working with some colleagues who are concerned about how health insurance in the US is draining its population of funds to support the corrupt privatized healthcare system. Even people on our public insurances – Medicaid and Medicare – are experiencing a post-pandemic healthcare system that crashed and is continuing to run in “crisis care” mode while everyone appears to be acting like nothing happened.

A good place to start with a portfolio project like this is the US census. It has a lot of variables on different characteristics, and the rates. For example, I looked up their data tables on health insurance coverage.

The US census has data online that you can use to do population-level data analysis for portfolio projects in data science.

Solution and Project Details

As I said on the graphic, when you get rates for certain areas, you can do an ecologic study – also called a correlational study. You can even make a dashboard and visualize the rates with a scatterplot or other interactive diagram. It’s a great excuse to practice your R or Python skills! See the visual below, which is a screen shot from this peer-reviewed article, where we used a scatter plot and a heat map to show associations.

If you do statistics and have two continuous variables, you can do correlations. You can also make visualizations.

Read all of our data science blog posts!

CDC Wonder for Studying Vaccine Adverse Events: The Shameful State of US Open Government Data

CDC Wonder is an online query portal that serves as a gateway to many government [...]

AI Careers: Riding the Bubble

AI careers are not easy to navigate. Read my blog post for foolproof advice for [...]

Descriptive Analysis of Black Friday Death Count Database: Creative Classification

Descriptive analysis of Black Friday Death Count Database provides an example of how creative classification [...]

Classification Crosswalks: Strategies in Data Transformation

Classification crosswalks are easy to make, and can help you reduce cardinality in categorical variables, [...]

FAERS Data: Getting Creative with an Adverse Event Surveillance Dashboard

FAERS data are like any post-market surveillance pharmacy data – notoriously messy. But if you [...]

Dataset Source Documentation: Necessary for Data Science Projects with Multiple Data Sources

Dataset source documentation is good to keep when you are doing an analysis with data [...]

Joins in Base R: Alternative to SQL-like dplyr

Joins in base R must be executed properly or you will lose data. Read my [...]

NHANES Data: Pitfalls, Pranks, Possibilities, and Practical Advice

NHANES data piqued your interest? It’s not all sunshine and roses. Read my blog post [...]

Color in Visualizations: Using it to its Full Communicative Advantage

Color in visualizations of data curation and other data science documentation can be used to [...]

Defaults in PowerPoint: Setting Them Up for Data Visualizations

Defaults in PowerPoint are set up for slides – not data visualizations. Read my blog [...]

Text and Arrows in Dataviz Can Greatly Improve Understanding

Text and arrows in dataviz, if used wisely, can help your audience understand something very [...]

Shapes and Images in Dataviz: Making Choices for Optimal Communication

Shapes and images in dataviz, if chosen wisely, can greatly enhance the communicative value of [...]

Table Editing in R is Easy! Here Are a Few Tricks…

Table editing in R is easier than in SAS, because you can refer to columns, [...]

R for Logistic Regression: Example from Epidemiology and Biostatistics

R for logistic regression in health data analytics is a reasonable choice, if you know [...]


Connecting SAS to Other Applications: Different Strategies

Connecting SAS to other applications is often necessary, and there are many ways to do [...]

Portfolio Project Examples for Independent Data Science Projects

Portfolio project examples are sometimes needed for newbies in data science who are looking to [...]

Project Management Terminology for Public Health Data Scientists

Project management terminology is often used around epidemiologists, biostatisticians, and health data scientists, and it’s [...]

Rapid Application Development Public Health Style

“Rapid application development” (RAD) refers to an approach to designing and developing computer applications. In [...]

Understanding Legacy Data in a Relational World

Understanding legacy data is necessary if you want to analyze datasets that are extracted from [...]

Front-end Decisions Impact Back-end Data (and Your Data Science Experience!)

Front-end decisions are made when applications are designed. They are even made when you design [...]

Reducing Query Cost (and Making Better Use of Your Time)

Reducing query cost is especially important in SAS – but do you know how to [...]

Curated Datasets: Great for Data Science Portfolio Projects!

Curated datasets are useful to know about if you want to do a data science [...]

Statistics Trivia for Data Scientists

Statistics trivia for data scientists will refresh your memory from the courses you’ve taken – [...]

Management Tips for Data Scientists

Management tips for data scientists can be used by anyone – at work and in [...]

REDCap Mess: How it Got There, and How to Clean it Up

REDCap mess happens often in research shops, and it’s an analysis showstopper! Read my blog [...]

GitHub Beginners in Data Science: Here’s an Easy Way to Start!

GitHub beginners – even in data science – often feel intimidated when starting their GitHub [...]

ETL Pipeline Documentation: Here are my Tips and Tricks!

ETL pipeline documentation is great for team communication as well as data stewardship! Read my [...]

Benchmarking Runtime is Different in SAS Compared to Other Programs

Benchmarking runtime is different in SAS compared to other programs, where you have to request [...]

End-to-End AI Pipelines: Can Academics Be Taught How to Do Them?

End-to-end AI pipelines are being created routinely in industry, and one complaint is that academics [...]

Referring to Columns in R by Name Rather than Number has Pros and Cons

Referring to columns in R can be done using both number and field name syntax. [...]

The Paste Command in R is Great for Labels on Plots and Reports

The paste command in R is used to concatenate strings. You can leverage the paste [...]

Coloring Plots in R using Hexadecimal Codes Makes Them Fabulous!

Recoloring plots in R? Want to learn how to use an image to inspire R [...]

Adding Error Bars to ggplot2 Plots Can be Made Easy Through Dataframe Structure

Adding error bars to ggplot2 in R plots is easiest if you include the width [...]

AI on the Edge: What it is, and Data Storage Challenges it Poses

“AI on the edge” was a new term for me that I learned from Marc [...]

Pie Chart ggplot Style is Surprisingly Hard! Here’s How I Did it

Pie chart ggplot style is surprisingly hard to make, mainly because ggplot2 did not give [...]

Time Series Plots in R Using ggplot2 Are Ultimately Customizable

Time series plots in R are totally customizable using the ggplot2 package, and can come [...]

Data Curation Solution to Confusing Options in R Package UpSetR

Data curation solution that I posted recently with my blog post showing how to do [...]

Making Upset Plots with R Package UpSetR Helps Visualize Patterns of Attributes

Making upset plots with R package UpSetR is an easy way to visualize patterns of [...]


Making Box Plots Different Ways is Easy in R!

Making box plots in R affords you many different approaches and features. My blog post [...]

Convert CSV to RDS When Using R for Easier Data Handling

Convert CSV to RDS is what you want to do if you are working with [...]

GPower Case Example Shows How to Calculate and Document Sample Size

GPower case example shows a use-case where we needed to select an outcome measure for [...]

Querying the GHDx Database: Demonstration and Review of Application

Querying the GHDx database is challenging because of its difficult user interface, but mastering it [...]

Variable Names in SAS and R Have Different Restrictions and Rules

Variable names in SAS and R are subject to different “rules and regulations”, and these [...]

Referring to Variables in Processing Data is Different in SAS Compared to R

Referring to variables in processing is different conceptually when thinking about SAS compared to R. [...]

Counting Rows in SAS and R Use Totally Different Strategies

Counting rows in SAS and R is approached differently, because the two programs process data [...]

Native Formats in SAS and R for Data Are Different: Here’s How!

Native formats in SAS and R of data objects have different qualities – and there [...]

SAS-R Integration Example: Transform in R, Analyze in SAS!

Looking for a SAS-R integration example that uses the best of both worlds? I show [...]

Dumbbell Plot for Comparison of Rated Items: Which is Rated More Highly – Harvard or the U of MN?

Want to compare multiple rankings on two competing items – like hotels, restaurants, or colleges? [...]


Data for Meta-analysis Need to be Prepared a Certain Way – Here’s How

Getting data for meta-analysis together can be challenging, so I walk you through the simple [...]

Sort Order, Formats, and Operators: A Tour of The SAS Documentation Page

Get to know three of my favorite SAS documentation pages: the one with sort order, [...]

Confused when Downloading BRFSS Data? Here is a Guide

I use the datasets from the Behavioral Risk Factor Surveillance Survey (BRFSS) to demonstrate in [...]


Doing Surveys? Try my R Likert Plot Data Hack!

I love the Likert package in R, and use it often to visualize data. The [...]


I Used the R Package EpiCurve to Make an Epidemiologic Curve. Here’s How It Turned Out.

With all this talk about “flattening the curve” of the coronavirus, I thought I would [...]

Which Independent Variables Belong in a Regression Equation? We Don’t All Agree, But Here’s What I Do.

During my failed attempt to get a PhD from the University of South Florida, my [...]

Portfolio project examples are sometimes needed for newbies in data science who are looking to complete independent projects. This blog post provides some great examples of independent projects you can do with datasets available online!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Verified by MonsterInsights