The Rise in Traffic Violation Tickets in New York (2014 - 2017)

Posted on Dec 3, 2019

Source Code


Anyone who has driven in New York City may have experienced at least one unpleasant experience. As a driver in New York City (NYC), I have learned that you must remain alert at all times. From looking for cyclists before you make a turn to making  sure that pedestrians are paying attention, it can be a challenging experience. 

In making sure that traffic laws and regulations are being followed at all times, police are authorized to issue traffic tickets to individuals who have violated a traffic law or regulation. While all rules are crucial to follow, it is likely that NYC drivers have been issued  with at least one traffic ticket. 

Today, technology has become a huge part of society in which the use of mobile devices while driving has impacted so many lives. The use of technology has also benefited the police force. Through recent advance technologies in police vehicles, it is becoming easier to issue traffic violations.  Using an R shiny dashboard,  we will visualize the rise in traffic tickets from 2014 - 2017. 


Traffic Tickets Issued: Four Year Window 

Visualizations & Findings:

Before, we begin the visualizations, I wanted to calculate an accurate total of traffic tickets issued  each year. Above, we see that a rapid increase in traffic tickets. 

During 2017, majority of traffic tickets were issued on Mondays and Fridays. Traffic tickets were mostly issued to males between the ages of 21 - 30 years old. Next, we looked at the top eight violation descriptions and found that drivers are continiously surpassing the speed limit in a particular zone. 

How has recent technology and ideas impacted the increase of traffic tickets in New York?

Below are two of the many recent ideas created during these years that has helped police issue traffic tickets to drivers who are violating a traffic law. 

  • Today, you are more likely to see a cop driving a regular vehicle. 
    • Usually when one sees a cop car approaching, they tend to drive at a slower pace. Now imagine, you are driving 15 miles per hour above the speed limit and  you hear sirens coming from a black ford behind you.
  • License Readers
    • Today, it is difficult for cops to lose you on the road. Once they have detected your vehicle, your license plate is automatically listed on their system. Also, if a  cop sees that you are using your mobile device or violating a traffic law, it is not hard for them to stop and pull you over.


We have visualized the increase in traffic tickets and have found the top eight traffic laws that many drivers are violating. Hopefully drivers continue to be more careful on the road. This will decrease the risk of receiving a traffic ticket and help keep the streets safe. 





About Author

Drucila Lefevre

Drucila holds a Masters' degree in Psychology with a concentration in Applied Statistics from Columbia University. Drucila discovered her passion in data through research projects during her employment, where she worked as an research analyst and analyzed neuro...
View all posts by Drucila Lefevre >

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 airbnb Alex Baransky alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus API Application artist aws 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 Bundles California Cancer Research capstone Career Career Day citibike clustering Coding Course Demo Course Report D3.js data Data Analyst data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization Deep Learning Demo Day Discount dplyr employer networking feature engineering Finance Financial Data Science Flask gbm Get Hired ggplot2 googleVis Hadoop higgs boson Hiring hiring partner events Hiring Partners Industry Experts Instructor Blog Instructor Interview Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter lasso regression Lead Data Scienctist Lead Data Scientist leaflet linear regression Logistic Regression machine learning Maps matplotlib Medical Research Meet the team meetup Networking neural network Neural networks New Courses nlp NYC NYC Data Science nyc data science academy NYC Open Data NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time Portfolio Development prediction Prework Programming PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R 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 Selenium sentiment analysis Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau team TensorFlow Testimonial tf-idf Top Data Science Bootcamp twitter visualization web scraping Weekend Course What to expect word cloud word2vec XGBoost yelp