For DSNY 14’s Friday Project, we worked with Chin & Beard Suds Co. (CBSC), a mock soap company based in the UK that reached out to us for help aligning their data with their business questions. Derek Lein and I teamed up to create a data model that could answer the following question:

“Could we have seen the downfall (closure) of our two stores in London coming based on our transactions and cost?”

Without an existing data schema or Entity-Relationship Diagram (ERD), our job was to develop a plan to turn their available data into a practical, business-driven data model.

As with any data project, planning was key. We also needed to document our work at every step to provide CBSC’s team with a clear enablement document.

Understanding the Business

To better understand the business and the context behind the numbers, our first step was to gather the necessary information and define the scope of our analysis. This is where stakeholder communication becomes essential.

We asked for term definitions, clarified how key business metrics should be calculated, and confirmed the scope of our analysis to ensure our understanding aligned with the stakeholder’s expectations.

Creating a SunBeam Model

Our second step was to create a SunBeam model, a combination of Sun Modelling and Business Event Analysis Modelling (BEAM), which helps us visually map out what we want to measure and what information we need to answer our business question.

A tool I recommend for this step is Excalidraw, which makes sketching out data models simple and collaborative.

Using the available tables, we identified the attributes relevant to each of the 7Ws — Who, What, Where, When, Why, How, and How Many.

  • Who – We are particularly interested in the two stores that closed, comparing their performance with stores that remained open, while also considering the employees associated with each location.
  • What – We want to investigate product sales and business expenses, including fixed costs, such as rent, and variable costs, such as production and certain labor expenses.
  • Where – We chose to focus on physical store locations and exclude online sales from our analysis.
  • When – We want to examine historical trends to identify disparities and potential warning signs leading up to the store closures.
  • Why – Were the closures preceded by declining sales, reduced customer demand, or increasing production and operating costs? Investigating these potential factors could help us identify early warning signs and inform business decisions at other locations.
  • How – We identified the relevant business processes, such as sales, promotions, and employee compensation, alongside the specific tables and fields needed to analyze them.
  • How Many – These are the quantifiable measures and KPIs we identified to answer our business question, such as revenue, total costs, and profit margins.

All in all, the SunBeam model reminds us that building a data model starts with understanding the business, not just understanding the data. It lays the foundation for our ERD, which then helps us figure out what data cleaning and transformations are needed to bring our conceptual model to life.

With the planning stage complete, we're ready to move from concept to design. In Part 2, I’ll walk through how we translated our SunBeam model into an ERD and the reasoning behind our modelling decisions. In Part 3, we’ll put our planning into practice using SQL to clean, transform, and build our data model.