Giter Club home page Giter Club logo

american-fastfood-exploratory-data-analysis's Introduction

American Fastfood Exploratory Data Analysis

๐Ÿ” Analyzing over 100000 American Fast Food Restaurants Records scattermap_2019_us_fastfood_res_by_GPS

More Details: go to the Kaggle Kernel

Quick breakdown with some visualizations

1: What are the top 20 recorded fastfood restaurant by count?

top20_mentioned_restaurants before data cleaning
The bar plot shows that "McDonald's" is the most popular fast food restaurants in the US. However, we can see there exist data entry error because "McDonalds" appearred again in the plot and so does Subway and SUBWAY. Hence, I used Edit-distance algorithm to find most similar words and they can possibily be included in the dataset due to error of data entry.

top20_mentioned_restaurants after data cleaning
Looking at the bar plot again with updated, standardized restaurant names, we can observe that "Subway" is the most popular restaurant in the US followed by "Mc Donald's", "Taco Bell", and "Pizza Hut".

2: When are the data recorded and updated?

histograms_dateAdded histograms_dateUpdated
We have fast food restaurants entries from 2014 to 2019 with most entries from 2019. The dataset has data updated from December 2018 to May 2019.

3: What are the common categories of top 50 mentioned restaurant?

After concatenating restaurant categories with underscore, I used wordcloud to help visualize the categories of top 50 mentioned restaurants. They things in common: American, Take out, and Hamburgers and Hot Dogs.
categories_wordcloud

4: What cities are crowded with fast food restaurants?

Columbus is the state capital and the most populous city in the U.S. State of Ohio. With a population of 892,533 as of 2018 estimates, it is the 14th-most populous city in the United States and one of the fastest growing large cities in the nation. From the below graph, we can see Columbus is populated with fast food restaurants. top20_mentioned_cities

5: What states are crowded with fast food restaurants?

Ohio state has the highest number of fast food restaurants record in the dataset. barchart_number_fastfood_by_state

6: What are the proportions of different fast food restaurants in top 3 mentioned cities?

In Columbus, Subway opened highest number of fast food restaurants.
piechart_top10_in_Columbus

In Indianapolis, Pizza Hut opened highest number of fast food restaurants.
piechart_top10_in_Indianapolis

In Birminham, Subway opened highest number of fast food restaurants. piechart_top10_in_Birmingham

Question 7: What's the geospatial perspective of the restaurants in differnt states?

Counting the number of fast food restaurants opened in each state, we can observe that the east of the
US has more fast food restaurants opened; California is the most fast food restaurants populated state.
choropleth_2019_us_fastfood_res_by_state

Question 8: How are the fast food restaurants scattered?

The scatter plot on map shows that the east has clearly more red dots or fast food restaurants comparing to the west.
scattermap_2019_us_fastfood_res_by_GPS

Question 9. Ratio between fast food restaurants opened and population

Divising the number of fast food restaurants by 2019 population in each state, we can see there exist strong positive correlation between the population in each state and the number of fast food restaurants opened in each state.
choropleth_ratio_between_restaurants_and_population

american-fastfood-exploratory-data-analysis's People

Contributors

kangbolu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.