Skip to content

Data science project pitch for improving fulfillment efficiency at Chewy

License

Notifications You must be signed in to change notification settings

hmlewis-astro/chewy_business

Repository files navigation

The Problem with Pandemic Puppies: locating a new Chewy fulfillment facility

Abstract

The ultimate goal of this project is to determine an ideal location for a Chewy fulfillment center. We hypothesize that understanding the density of pet-owning households per pet supply store, as well as total customer spend on Chewy products in each US county will allow us to determine an ideal location for the fulfillment center. We suggest building a geospatial clustering model to identify clusters of counties with (1) few pet supply retailers per pet-owning household and (2) high customer spend at Chewy. From our initial analysis, we find that pet owners in Mississippi, Louisiana, and Alabama—states along the Gulf Coast—have relatively fewer options in pet supply retailers than pet owners in other parts of the US. Additional data on Chewy customer spend in each US county is required to fully complete the proposed model, and determine an ideal location for the fulfillment center.

See the Tableau dashboard Chewy Fulfillment Center to explore these results further.

Design

According to the ASPCA, since the beginning of the COVID-19 pandemic, approximately one in five households in the US has acquired a new pet. This "pet boom" placed a serious strain on the supply chain of many pet supply companies; specifically, Chewy—an exclusively online retailer of pet food and pet-related products—reported $20 million in extra fulfillment spend during 2020 Q1. To prevent losses in the future, Chewy hopes to get ahead of further fulfillment and supply-chain breakdowns by opening another new fulfillment facility, and needs to determine where to locate this new facility.

Impact hypothesis

We hypothesize that understanding the density of pet-owning households per pet supply store, as well as the total customer spend on Chewy products per capita —and how those metrics have changed since March 2020 (the start of the pandemic)—will allow us to determine an ideal location for the fulfillment center.

Primary impact: determine an ideal location for the fulfillment center
Secondary impacts: prevent extra fulfillment spend (and therefore, increase net profits), decrease the fraction of late deliveries (i.e., longer than the promised, three-day delivery), decrease average order delivery time, increase customer satisfaction

Solution paths

Suggested solution path: Determine the location based on a geospatial clustering model to predict future customer spend based on:

  • the number of pet-owning households,
  • the number of existing options available for in-person purchase of pet supplies,
  • the historical total customer spend (per capita) on Chewy products, and
  • how these factors have changed (e.g., increase/decrease of pet ownership) since March 2020.

Other possible paths:

  • Determine the location (within the contiguous US) that would maximize the distance between all existing centers and the new fulfillment center
  • Analyze fulfillment data—e.g., the largest fraction of incorrect fulfillments and longest average order delivery time—to determine warehouses that might be at/over-capacity; locate new facility nearby (within 100 miles) the struggling facility
  • Rather than optimizing the location to be in a region with a lack of other pet supply stores, optimize to be in a competitive area (i.e., with a high number of pet-owning households, and many other pet supply options); potential to take business from other/smaller companies

Measures of success

  • Technical: model achieves a high silhouette score (how similar a datapoint is to other datapoints in its cluster, relative to datapoints not in its cluster) and identifies a reasonable location for the new fulfillment center (i.e., not too close to an existing fulfillment center, not in an area with very few pet-owning households)
  • Non-technical: amount of fulfillment spend above or below that of the previous quarter, amount of change in the fraction of late deliveries, amount of change in the average order delivery time

Assumptions & risks

Assumptions Risks
Observed increase in pet and pet supply spending since March 2020 will persist through the next wave of COVID-19 infections If pet supply spending returns to pre-pandemic levels, new fulfillment center may be under-utilized and lead to a loss in net profits
Extra fulfillment centers are required to meet additional fulfillment needs Slow delivery times might be due to one or more existing, understaffed facilities that simply require more fulfillment specialists
Location should depend on where there is a high density of pet-owning households per pet supply store (i.e., few pet supply stores to support the population) Few pet supply stores in an area may mean that there is not a market for these products or that one particular store already has a monopoly on the market

Models

Given access to Chewy customer spend data, we will develop a geospatial clustering model (likely using K-means or density-based spatial clustering/DBSCAN) incorporating these data. The model will identify spatial clusters of US counties with similar characteristics in customer spend at Chewy and the number of pet-owning households per pet supply store, rather than just the later (as done here).

As a first step, we will compare with the results we have in hand, to see if those Gulf Coast states still stand out. That is, are they under-served by other pet supply retailers and is customer spend high among pet-owners in that area?

We will choose from among the clusters the one that appears to be most under-served by other pet supply retailers, and that has relatively high (and, ideally, increasing) customer spend at Chewy, and select a precise location within that cluster for the new fulfillment center (based on zoning, real-estate prices, work-force potential, etc).

Data

For the preliminary analysis presented here, we used data from the American Veterinary Medical Association (AVMA), which provides the total number of pet-owning households per state (within the contiguous US), along with data from the US Census (population per county), to estimate the number of pet-owning households per county.

Data from the County Business Patterns (CBP) economic survey (carried out by the US Census Bureau, Business Statistics Branch) provides the number of veterinary, pet care (e.g., grooming), and pet supply store businesses per county; each of these three types of business generally sell some pet products—from medications and prescription diet foods, to toys and accessories—so we consider each of these types of businesses to be pet supply retailers. We calculate the total number of pet supply retailers per county, only for counties with three or more of each of these types of businesses (required for anonymity).

We used these data to determine which US counties have very few pet service businesses per pet-owning household (i.e., the density of pet-owning households per pet service business) to determine how "under-served" (or "over-served") pet owners are in each US county.

Algorithms

Cleaning & EDA

All cleaning and data analysis is carried out in Excel.

From the AVMA data, we find that approximately 59% of households (~72 million households) in the US own one or more pets. Because the AVMA data give pet-ownership by state, we divide the total number of pet-owning households per state into the counties by population. For example, in a state with 100,000 pet-owning households, we assume that a county with 1% of the human population also has 1% of the pet-owning households, i.e., 1,000 households.

Given the CBP database, we drop rows from the data that break the total number of pet supply retailers down into subcategories based on the number of employees; we only need information about the total number of pet supply retailers, and not the number of employees at each retailer.

Aggregation

The total number of pet supply retail establishments in each county is aggregated into a pivot table in the Excel workbook. The pivot table is joined with the table containing the number of pet-owning households per county, and this table is imported to Tableau for visualization.

Visualization

The interactive Tableau dashboard containing these data and analyses can be downloaded here or can be accessed on the web here.

Figure: Screencap of the interactive Tableau dashboard.

Tools

  • Excel for data cleaning, aggregation, and analysis
  • Tableau for plotting and interactive visualizations

About

Data science project pitch for improving fulfillment efficiency at Chewy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published