Coder Social home page Coder Social logo

eddahviolet / finalprojectadvanceddatamodelling Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 108 KB

Creating erd using MySQL Workbench, Forward engineering, Dimensional data model, Tableau visualisation

dashboards dimensional-modeling erdiagram mysqlworkbench starschema tableau

finalprojectadvanceddatamodelling's Introduction

FinalProjectAdvancedDataModelling

Global Super Store have collected huge amounts of data from their business operations within the USA. This data has been collected in an excel sheet with the following data fields:

  • Order ID and Order Date.
  • Ship Date and Ship Mode.
  • Total Cost and Product Price.
  • Customer ID, Name and Contact Details.
  • City, State, Country and Postal Code.
  • Product ID, Category and Sub-Category.
  • Product Name and Quantity.
  • Discount, Shipping Cost and Order Priority.

Global Super Store want to restructure their database system in a proper database management system within MySQL. They also want to analyze existing data to understand their business performance and progress.

Task 1: Create an ER diagram

Use the visual data modeling tool in MySQL Workbench to create a suitable ER diagram for the Global Super Store making use of the data fields within the company Excel file. The tables should be normalized to conform with the three fundamental normal forms.

image

Task 2: Implement the data model

Use MySQL Workbench’s forward engineer feature to implement the Global Super Store data model inside MySQL server.

task 2a

To check the Database creation, check the Schemas pane to see ‘globalsuperstore’ or run ‘show databases;’ code to see all databases.

image

Task 3: Create a star schema

The marketing department at the Global Super Store Company want to build a campaign to promote the company’s products within the USA. First, they need to understand the company’s performance in this market by analyzing their sales data. They are interested in data related to products, locations and times only.

Create a Star schema that includes relevant fact and dimensions tables with relevant attributes and data types.

Step 1 Identify the business process to deal with which is sales then identify the grain, the dimensions and the measures that will be used.

Dimensions:
  • Location.
  • Time.
  • Product
Facts:
  • Price of all products.
  • Profits of all products
  • Discounts of all products
  • Total cost
  • The quantity sold of each product.
  • The shipping cost of each product.
Levels of granularity:
  • Region, country state, and city.
  • Year, quarter, month, day
  • Category, subcategory and product name

Step 2 Draw the star schema

task 3

Task 4: Create a map chart

Use Tableau to investigate Global Super Store’s sales in the USA. Create a map chart that shows sales in different states within the USA. If you rollover a state, then you should be able to view the state name and sales

task 4

Here is a link to the visualisation on Tableau Public https://public.tableau.com/views/Globalsuperstore_16759520720450/SalesinUSA?:language=en-US&:display_count=n&:origin=viz_share_link

Task 5: Create a bubble chart

The Global Super Store needs to check their profits within the USA. Create a bubble chart in Tableau. When you rollover a bubble, you should be able to view the following information,

  • State name
  • Quantity sold
  • Profits
  • Shipping cost

task 5

Here is a link to the bubble chart on Tableau Public https://public.tableau.com/views/GlobalSuperStoreProfitsinUSA/ProfitsinUSA?:language=en-US&:display_count=n&:origin=viz_share_link

Task 6: Create a line chart

The Global Super Store want to view sales trends in the USA over the last 4 years. Create a line chart in Tableau for states with Sales of more than $40000.

task 6

Here is a link to the line chart on Tableau Public https://public.tableau.com/views/GlobalSuperStoreSalesTrendinUSA/SalesTrendsinUSA?:language=en-US&:display_count=n&:origin=viz_share_link

Task 7: Create an interactive dashboard

Create an interactive dashboard that includes the charts produced in the above tasks Name it ‘Sales and Profits in the USA’. If you click on a state, you should be able to view relevant sales and profits

task 7

Here is a link to the dashboard on Tableau Public https://public.tableau.com/views/GlobalSuperStoreSalesProfitinUSA/SalesandProfitsintheUSA?:language=en-US&:display_count=n&:origin=viz_share_link

finalprojectadvanceddatamodelling's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.