NYC Data Science Academy| Blog
Bootcamps
Lifetime Job Support Available Financing Available
Bootcamps
Data Science with Machine Learning Flagship ๐Ÿ† Data Analytics Bootcamp Artificial Intelligence Bootcamp New Release ๐ŸŽ‰
Free Lesson
Intro to Data Science New Release ๐ŸŽ‰
Find Inspiration
Find Alumni with Similar Background
Job Outlook
Occupational Outlook Graduate Outcomes Must See ๐Ÿ”ฅ
Alumni
Success Stories Testimonials Alumni Directory Alumni Exclusive Study Program
Courses
View Bundled Courses
Financing Available
Bootcamp Prep Popular ๐Ÿ”ฅ Data Science Mastery Data Science Launchpad with Python View AI Courses Generative AI for Everyone New ๐ŸŽ‰ Generative AI for Finance New ๐ŸŽ‰ Generative AI for Marketing New ๐ŸŽ‰
Bundle Up
Learn More and Save More
Combination of data science courses.
View Data Science Courses
Beginner
Introductory Python
Intermediate
Data Science Python: Data Analysis and Visualization Popular ๐Ÿ”ฅ Data Science R: Data Analysis and Visualization
Advanced
Data Science Python: Machine Learning Popular ๐Ÿ”ฅ Data Science R: Machine Learning Designing and Implementing Production MLOps New ๐ŸŽ‰ Natural Language Processing for Production (NLP) New ๐ŸŽ‰
Find Inspiration
Get Course Recommendation Must Try ๐Ÿ’Ž An Ultimate Guide to Become a Data Scientist
For Companies
For Companies
Corporate Offerings Hiring Partners Candidate Portfolio Hire Our Graduates
Students Work
Students Work
All Posts Capstone Data Visualization Machine Learning Python Projects R Projects
Tutorials
About
About
About Us Accreditation Contact Us Join Us FAQ Webinars Subscription An Ultimate Guide to
Become a Data Scientist
    Login
NYC Data Science Acedemy
Bootcamps
Courses
Students Work
About
Bootcamps
Bootcamps
Data Science with Machine Learning Flagship
Data Analytics Bootcamp
Artificial Intelligence Bootcamp New Release ๐ŸŽ‰
Free Lessons
Intro to Data Science New Release ๐ŸŽ‰
Find Inspiration
Find Alumni with Similar Background
Job Outlook
Occupational Outlook
Graduate Outcomes Must See ๐Ÿ”ฅ
Alumni
Success Stories
Testimonials
Alumni Directory
Alumni Exclusive Study Program
Courses
Bundles
financing available
View All Bundles
Bootcamp Prep
Data Science Mastery
Data Science Launchpad with Python NEW!
View AI Courses
Generative AI for Everyone
Generative AI for Finance
Generative AI for Marketing
View Data Science Courses
View All Professional Development Courses
Beginner
Introductory Python
Intermediate
Python: Data Analysis and Visualization
R: Data Analysis and Visualization
Advanced
Python: Machine Learning
R: Machine Learning
Designing and Implementing Production MLOps
Natural Language Processing for Production (NLP)
For Companies
Corporate Offerings
Hiring Partners
Candidate Portfolio
Hire Our Graduates
Students Work
All Posts
Capstone
Data Visualization
Machine Learning
Python Projects
R Projects
About
Accreditation
About Us
Contact Us
Join Us
FAQ
Webinars
Subscription
An Ultimate Guide to Become a Data Scientist
Tutorials
Data Analytics
  • Learn Pandas
  • Learn NumPy
  • Learn SciPy
  • Learn Matplotlib
Machine Learning
  • Boosting
  • Random Forest
  • Linear Regression
  • Decision Tree
  • PCA
Interview by Companies
  • JPMC
  • Google
  • Facebook
Artificial Intelligence
  • Learn Generative AI
  • Learn ChatGPT-3.5
  • Learn ChatGPT-4
  • Learn Google Bard
Coding
  • Learn Python
  • Learn SQL
  • Learn MySQL
  • Learn NoSQL
  • Learn PySpark
  • Learn PyTorch
Interview Questions
  • Python Hard
  • R Easy
  • R Hard
  • SQL Easy
  • SQL Hard
  • Python Easy
Data Science Blog > R > NFL Scouting Combine Data Visualization

NFL Scouting Combine Data Visualization

Michael Todisco
Posted on Feb 1, 2016

Contributed by Michael Todisco. He is currently in the NYC Data Science Academy 12 week full time Data Science Bootcamp program taking place between January 11th to April 1st, 2016. This post is based on his first class project - R visualization (due on the 2th week of the program).

Michael Todisco

Overview

The NFL Scouting Combine is a week-long showcase where potential NFL players are put through several athletic tests.  How a player performs at the combine could impact his draft position.  My objective was to graphically visualize and inspect player combine performance.  The questions I was interest in exploring were:

  1. What were the distributions of notable work-outs?
  2. How are the results from some of the work-outs related?
  3. What states/colleges are the players from?
  4. How have NFL draft picks trended over the years?
  5. How does a player's performance impact where he is drafted?  Or if he is drafted at all?
  6. How are the above questions dictated by the player's position?

Some of the code is posted below, but it can be found in its entirety here: https://github.com/nycdatasci/bootcamp004_project/blob/master/Project1-ExploreVis/Project1-michaeltodisco/NFL_Combine.R

Getting the Data

I was able to find a relatively clean dataset from NFLsavant.com.  It contained recorded combine results from 1999 to 2015 and had fields such as; player name,position, year they attended the combine, college they went to, the pick they were selected in the draft, and their work-out performances.  I downloaded the data and read it into R studio while wrapping it in a dplyr data frame.

library(dplyr)

combine_data = tbl_df(read.csv('combine.csv', header=TRUE, stringsAsFactors = FALSE))

Manipulating the Data

#add drafted vs not drafted column
combine_data = mutate(combine_data, drafted = (ifelse(picktotal > 0, 'Drafted', 'Not Drafted')))

#In 'round' column, change round = 0 to round = ND for players that have not been drafted
combine_data = mutate(combine_data, round = ifelse(round == 0, 'ND', round))

Numerical Summary Table

Once I had the data read into R, fully merged and with the columns I needed, my next step was to get an idea of the distribution for the fields I cared about.  There was a lot of missingness in the dataset from players not participating in certain work-outs.  These missing values had to be filtered by work-out.

###CREATING SUMMARY TABLE####
num_player_data = group_by(combine_data, year) %>%
  summarise(., num_players = length(name))

fortyyd_data = filter(combine_data, fortyyd > 0)
broad_data = filter(combine_data, broad > 0)
vertical_data = filter(combine_data, vertical > 0)
bench_data = filter(combine_data, bench > 0)
three_cone_data = filter(combine_data, threecone > 0)

avg_num_players = mean(num_player_data$num_players)
avg_weight = round(mean(combine_data$weight),2)
avg_40 = format(round(mean(fortyyd_data$fortyyd),2), nsmall = 2)
avg_vertical = round(mean(vertical_data$vertical),2)
avg_broad = round(mean(broad_data$broad),2)
avg_bench = format(round(mean(bench_data$bench),2), nsmall = 2)
avg_three_cone = round(mean(three_cone_data$threecone),2)

summary_data = data.frame(avg_num_players, avg_weight, avg_40, avg_vertical, avg_broad, avg_bench, avg_three_cone)

How Are The Work-Out Results Related?

I performed a few of these visualizations, but the one below shows a player's vertical jump in inches on the x-axis and the number of repetitions they performed in the bench press on the y-axis.  I was hoping to see some type of a relationship between the two variables.  My initial thought was  that a player who benches a lot and is strong will no be likely to jump high.  You can see from the "clouded" data that there really isn't a general relationship here.  The one thing that is apparent is the clustering by position (colored).  Defensive backs, in red, have a higher vertical, but lower bench press, as compared to offensive lineman.

Untitled

Where Do The Players Come From?

In my original dataset, I had the college a player attended.  However, I was not able to map the data with just the college name.  I need the state of the college as well.

To remedy this issue, I found another dataset which was a list of U.S. accredited colleges.  This dataset contained the state information that I was looking for.  I read the new data into R and merged it with my original combine data.  With the merged dataset, I was able to use the maps library to plot the number of players that attended the combine by state.

#merge university data to apply state column based on college name
university_data = tbl_df(read.csv('Accreditation_2015_12.csv', header=TRUE, stringsAsFactors = FALSE))
univ_data = unique(university_data[ ,c('college', 'Institution_State', 'Institution_Zip')])

merged_data = merge(combine_data, univ_data, by = 'college', all.x = TRUE 

Untitled

Not surprisingly, the states with the highest frequency of players came from Florida, Texas and California.  Not only do these states have the largest populations in the U.S. but they are also "hot beds" for football talent.

When looking at the number of players by the university they attended, I was surprised to see that the University of Georgia took the top spot.  Many of College Football's power-house programs such as Florida, Alabama, USC and LSU also made the top 10 list.

Untitled

How Are NFL Draft Picks Trending?

The next question I wanted to investigate involved the NFL Draft, particularly the first round.  I wanted to see who was being more highly valued by NFL teams; offensive or defensive players.

Untitled

The above graph shows that in the last five years more defensive players have been drafted in the first round than offensive players.  Also, the percent of defensive players selected in the first round has been trending upward in the last four years.  This suggests that coaches, general managers and owners of NFL teams believe defense at the top of the draft is more valuable than offense.  But what positions do they value the most?

UntitledIts interesting here to note that a running back (red) has not been drafted in the first round in the last two years.  Consequently, defensive backs (light blue) have seen steady increases in there position being drafted for the last five years.  This trend makes a statement about the way the game is currently being played.  With completion percentage going up, teams have abandoned the running game and are more focused on throwing the ball.  Thus, RB values have been diminished and those defending the pass, DB's, have increased.

What are the Best and Worst 40 Yard Dash Times?

With a limited amount of time, I decided to focus the majority of my attention on one test:  the forty yard dash.  This is by far the most popular test and the one that makes the most headlines.  You can see from the tables below that forty yard dash is largely segmented by a player's position.  The skill position players typically have much quicker forty times than offensive or defensive lineman.

Best 40 Times

Untitled

Worst 40 Times

Untitled

How Have 40 Yard Dash Times Been Trending?

It has been a sentiment seen by many, that NFL players have been getting bigger, stronger and faster.  The graph below would certainly make the case that they are getting faster.  The average forty time has nearly dropped by 0.07 seconds in the last fifteen years.  This may seem like a n extremely small amount, but it is quite meaningful when considering that the range of the full scale is only about 1 second.

Untitled

How Do 40 Yard Dash Times Differ By Position?

The distributions of the 40 yard times vary greatly by position.  Positions that are speed based - RB's, WR's and DB's - have skinny curves that are centered around the lower values of the x-axis, where as the positions that are not speed based - QB's, DL's, OL's - have fatter curves with means more centralized on the x-axis.

Untitled

Below is a density plot for offensive players, further showing the different distributions by position.

Untitled

And here is the same plot but for defensive players.

Untitled

How Do 40 Yard Dash Time Rank By Position?

The box-plot below shows that Wide Receivers have run the fastest 40 yard dashes at the combine while offensive lineman have run the slowest.

Untitled

Does a Player's 40 Yard Dash Time Impact Where He is Drafted?

There is a linear shaped relationship between a running back's forty time and when he is selected in the draft.  The faster the 40 time, the lower the draft pick.

Untitled

However, this is not true for a position like quarterback, which is sensical because the QB position is not predicated on speed, thus a QB's curve is much more horizontal than a RB's.

Untitled

How Likely is a Player to be Drafted?

One of the most surprising things that I found while exploring this data was that over 34% of the players that attend the draft don't get drafted at all.  I had no idea that percentage was so high.

Untitled

One of the big issues in sports news lately has been underclassmen declaring for the NFL draft and not being selected.  This is a big problem because once a player declares for the draft, they lose their college eligibility.  In 2014, 98 underclassmen declared for the draft, and 36 of them were not drafted.  Perhaps, if these players were more informed and knew their work-out times, they could have decided to stay in school.

Untitled

It is apparent from the box-plot above that running backs that are drafted have quicker forty yard dash times than running backs that are not drafted.

Possible Next Steps

  • Develop algorithms and machine learning techniques that would predict a playerโ€™s draft position based on their combine results
  • Web scrape mock drafts โ€“ expected draft position vs actual draft position
  • Map potential draft positions with historical contract data to predict a players potential earnings

About Author

Michael Todisco

Michael has a B.A. in economics from Johns Hopkins University. Over the last four years he has been in the professional world, working at two NYC start-up companies. First, at JackThreads where he was a data analyst for...
View all posts by Michael Todisco >

Leave a Comment

Cancel reply

You must be logged in to post a comment.

No comments found.

View Posts by Categories

All Posts 2399 posts
AI 7 posts
AI Agent 2 posts
AI-based hotel recommendation 1 posts
AIForGood 1 posts
Alumni 60 posts
Animated Maps 1 posts
APIs 41 posts
Artificial Intelligence 2 posts
Artificial Intelligence 2 posts
AWS 13 posts
Banking 1 posts
Big Data 50 posts
Branch Analysis 1 posts
Capstone 206 posts
Career Education 7 posts
CLIP 1 posts
Community 72 posts
Congestion Zone 1 posts
Content Recommendation 1 posts
Cosine SImilarity 1 posts
Data Analysis 5 posts
Data Engineering 1 posts
Data Engineering 3 posts
Data Science 7 posts
Data Science News and Sharing 73 posts
Data Visualization 324 posts
Events 5 posts
Featured 37 posts
Function calling 1 posts
FutureTech 1 posts
Generative AI 5 posts
Hadoop 13 posts
Image Classification 1 posts
Innovation 2 posts
Kmeans Cluster 1 posts
LLM 6 posts
Machine Learning 364 posts
Marketing 1 posts
Meetup 144 posts
MLOPs 1 posts
Model Deployment 1 posts
Nagamas69 1 posts
NLP 1 posts
OpenAI 5 posts
OpenNYC Data 1 posts
pySpark 1 posts
Python 16 posts
Python 458 posts
Python data analysis 4 posts
Python Shiny 2 posts
R 404 posts
R Data Analysis 1 posts
R Shiny 560 posts
R Visualization 445 posts
RAG 1 posts
RoBERTa 1 posts
semantic rearch 2 posts
Spark 17 posts
SQL 1 posts
Streamlit 2 posts
Student Works 1687 posts
Tableau 12 posts
TensorFlow 3 posts
Traffic 1 posts
User Preference Modeling 1 posts
Vector database 2 posts
Web Scraping 483 posts
wukong138 1 posts

Our Recent Popular Posts

AI 4 AI: ChatGPT Unifies My Blog Posts
by Vinod Chugani
Dec 18, 2022
Meet Your Machine Learning Mentors: Kyle Gallatin
by Vivian Zhang
Nov 4, 2020
NICU Admissions and CCHD: Predicting Based on Data Analysis
by Paul Lee, Aron Berke, Bee Kim, Bettina Meier and Ira Villar
Jan 7, 2020

View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day ChatGPT citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay football gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income industry Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI

NYC Data Science Academy

NYC Data Science Academy teaches data science, trains companies and their employees to better profit from data, excels at big data project consulting, and connects trained Data Scientists to our industry.

NYC Data Science Academy is licensed by New York State Education Department.

Get detailed curriculum information about our
amazing bootcamp!

Please enter a valid email address
Sign up completed. Thank you!

Offerings

  • HOME
  • DATA SCIENCE BOOTCAMP
  • ONLINE DATA SCIENCE BOOTCAMP
  • Professional Development Courses
  • CORPORATE OFFERINGS
  • HIRING PARTNERS
  • About

  • About Us
  • Alumni
  • Blog
  • FAQ
  • Contact Us
  • Refund Policy
  • Join Us
  • SOCIAL MEDIA

    ยฉ 2025 NYC Data Science Academy
    All rights reserved. | Site Map
    Privacy Policy | Terms of Service
    Bootcamp Application