Figure 7d. Data Preparation