Data Visualization of Mosaiq

Posted on Feb 26, 2018
The skills the author demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.
Photo by Nancy Lee

A glimpse at the flourishing industry of wine and spirits in Quebec, renowned gourmet destination!

When I embarked on the journey of learning how to become a data scientist at the NYC Data Science Academy, I knew from the start that it would be a great challenge! For my first project, I needed to build an interactive Shiny application that could create visual representations of large sets of data. That is when I partnered with a company that could use such a tool, Mosaiq Inc.

Mosaiq is an independently owned company based in Montreal that imports a great selection of beers, wines and spirits from all over the world and sells them to a government owned corporation named The Société des alcools du Québec (SAQ).

The SAQ's mandate is to sell alcoholic products to consumers. It provides a major income stream to the Quebec and Canadian governments in the form of taxes and duties. It also makes dividend payment to the Quebec government which is its sole shareholder. The SAQ has over 400 retail outlets in the province of Quebec!

Building the app

One of the problems Mosaiq had was having to work with huge raw csv sales files that were difficult to analyze. The SAQ sells these files which contain a long list of every sales transaction in Quebec in a week. Mosaiq currently uses the files to calculate total province-wide sales but they couldn't evaluate how their products were doing by city or region.

For this project we have used sales data for the month of December 2017 which is the most important month of the year for the industry!

Mosaiq wanted a tool that would allow them to see the percent market share of their products broken down by city or region. To see the sales by different SAQ banners was important as well. For instance SAQ Express outlets have the best selling products and SAQ Signature outlets have high end, exclusive and rare products. Knowing this information would help focus their sales, promotion and marketing teams on certain regions.

The application I have developped solves Mosaiq's problem! I have named the tool HallStat after the charming town Hallstatt I fell in love with when I visited Austria.  

Data analysis

Some challenges with the raw csv files Mosaiq purchased were the need to:

     - ignore certain transactions such as the sales from warehouses.

     - merge multiple reference files as the raw sales files only had codes.

     - determine factors to convert various bottle sizes to nine liter equivalent cases which

       is the industry standard to compare volumes.

     - group all non-Mosaiq products into one group called "Other"

I am proud to now present the app's functionality. I wanted to keep it as simple and easy to navigate as possible so Mosaiq can use it weekly, monthly or even every time they meet with their customers (which are the wine and spirits makers).


Data Visualization of Mosaiq

The Home page welcomes the user.

Data Visualization of Mosaiq

The tab "Explore the market" displays interactive graphs and text that updates every time a new criteria is selected.

Data Visualization of Mosaiq

The user has the option to select all the banners as well as the divisions, without having to manually select them all.

The divisions' drop list and it's title changes depending on the user's selection of type of division.

The tab "View the data" allows the user to navigate through the sales information in a user friendly interface and refining the search.

About Author

Sounithtra Vongsaphay

Sounithtra graduated from the University of Quebec in Montreal with a Bachelor's degree in Actuarial Science. She helped Osgoode law professor Gus Van Harten on actuarial modelling of investment treaties for his book Sold Down the Yangtze, a...
View all posts by Sounithtra Vongsaphay >

Related Articles

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI