__STYLES__
Background Information:
Urška Sršen: Bellabeat’s co-founder and Chief Creative Officer ○ Sando Mur: Mathematician and Bellabeat’s cofounder; a key member of the Bellabeat executive team ○ Bellabeat marketing analytics team: A team of data analysts responsible for collecting, analyzing, and reporting data that helps guide Bellabeat’s marketing strategy.
To explore the number of users in each dataset, first of all, I converted the datatype of data which is MM:DD: YYYY hh:mm: ss into MM:DD: YYYY before uploading the dataset to SQL. Then, in SQL Big Query, I ran the below codes to explore the number of users in each dataset.
You can find the link to the code below
To examine the relationship between total calories and total steps, I used R for analysis. First of all, I installed below the necessary packages in R:
Result:
The result shows that total steps and calories have a positive relationship, the higher the calories user consume, the higher the total steps that users walk or run.
I also examined which day users consumed highest calories and which day users consumed lowest calories. To do this, I used Excel to change the activity date into weekday by using text formula. After that, using SQL, I could answer the question which weekday users had the highest average number of steps and highest average distance.
The result shows that Saturday is the day that users are most active walking, followed by Tuesday. The result also indicates that Saturday and Tuesday are also the days that users have the highest calories on average, meanwhile, on average, Sunday is typically not the day that users are active in walking.
Result:![image.png](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA88AAAEqCAMAAAAcQ5LpAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABvUExURQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG3qvUYAAAAkdFJOUwAMGBkkJTE9PklKTFZYY2Rxc31/i4yNmZqhqKmtt7zFytnd7L7HDmAAAAAJcEhZcwAAFxEAABcRAcom8z8AADWhSURBVHhe7Z3tets4z63rpvFMm2bazHQ3Sd+ndVr7/I9xgwRALpCQI0Wyo/jC/aNhJZECCCx92Anx7hAEb5N3Qc9ZZ+XNh+BicugCHAk9e4SepxB6Xg+hZ4/Q8xRCz+sh9OwRep5C6Hk9hJ49Qs9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D2fQh7UndwZa5R2uqonFZbMoTp0e16w2Lw0FneL89Cz1bP2RAcr6xIDOKxNG+1ME9fQs4czK2kKV6hn/TS71orEAqL6VmmbBLyZJepOVkcupZJxS8/qSYVFc6gM3ZwXLVZ1ZoqeM8l56Nkarz3Rwbwjsyox9C/PRB9tG9fQs8sb0rMYUNWGyT6kZ7pNmbpHrZ6Pl56Fm2hmyRyqQ9vzGoudqqpCdh56tsZrzxPVi10QcBiaXbRDz2PAWbn+J0c8ZQJLZZtLxK5Fz2yTPkeWFhRbxbqrXKOUjlGrB4qyZuTmxh/F6J0uga+vxJI5lIdmK/G8YHFyuZpiLRbnoac13vY0PiVWJAZwGH3HaPd1fInQswfOyna/f/j8z1POMygRuxY9k01a5BUKiNJW+s9D+t1maCar09W8Vh01OwdqlNLTnpSepbHOVy8WzwsW03/qnIPFWD0VeuIgXbRWrGdwGH2HaJvQFULPHmZWbn+n96z8DTSUiF2LnqHIKxYQhWKrWHeVb1BQdXSgKGtG072Wnj1rvVg8L9ZJNS8RZTM6jz2hiT0zq9azYAvkYklfDF0h9OzRzApU9FymRKxhfghKkVdTQBSKrR6tuzqiKGstPetVN10qh/qh4bzPY5w3Fo8d5G2IAdzpQxd69jjrrLz5EFxMDl2AI6Fnj9DzFELP6yH07BF6nkLoeT2Enj1Cz1MIPa+H0LNH6HkKoef1EHr2SF8EBMEbRDI4CIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCFbOu3f/HwfMRaQwWUi6AAAAAElFTkSuQmCC)
Visualization on Tableau:
hourly intensities
To easier examine this relationship, I used SQL to merge data between TotalSteps and TotalMinutesAsleep by Id level
I used hourly intensitiesinclude data to answer this question. First, to easily input in SQL, I opened this file in Excel and split ActivityHour data that combines both Day and Time to get only ActivityHour which was not including the date, month and year.
It can be seen that users are most active from 17-19h, which indicates that users will often exercise during this period of time.
My analysis above has provided some interesting marketing insights to Bellabeat company. Below is the summary of my findings and recommendation:
More users prefer to use daily Activity feature to track their wellness habit than other features such as sleep, heartrate or weight. The second most popular feature is sleep, the third popular one is heartrate, followed by weight. This information can be used in featuring Bellabeat products.
Saturday is the day that users are most active in walking or running, followed by Tuesday. These 2 days are also the days that users consume the highest calories in the entire week.
Calories and Steps have a positive linear relationship. When users run or walk more often, they will also consume more calories.
Sedentary Minutes and TotalSteps does not have a linear relationship. But it can be observed that number of steps will increase when sedentary minutes are from 0-500 mins, and number of steps will reduce when sedentary minutes are from 1000-1500. This is interesting, because we can recommend users who have sedentary time more than 1000 minutes should start exercising more.
There is, however, no relationship between Total Steps and Sleep duration. Exercising more does not help users to sleep longer time.
It can be seen that users are most active from 17-19h, which indicates that users will often exercise during this period of time. In Bellabeat app, we can recommend users to practice exercise during this period of time. The data can actually be adjusted to each user data and we can advise excerse time for each user.
It would be better if this Fitbit dataset contains more demographic information of users such as their gender. Fitbit also does not have information about user hydration level, so Bellabeat can incorporate this information into their product and provide suggestions regarding suitable hydration level to its users.
Tableau Link:
GitHub Link: