Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
CONTENT
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
Treemaps
Heatmaps
Correlations & Regressions
Network Diagrams
Box Plots & Statistics
Bubble Plots With Time Animation
Text Analytics
Sankey Diagrams
Report Design & Distribution
Data Dictionary
The data source is made up of 1.4 million rows and 60+ columns
NOTE: a complete data dictionary is available at the end of this document
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
For more information, please consult the SAS Visual Analytics User Guide, available under the Help menu.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
In order to explore this in more detail, we will need to create a hierarchy that will allow us to dig deeper
and focus our analysis.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
USING A HIERARCHY
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
EXPLORING A HIERARCHY
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
FILTERS
Filters are an easy way to subset the data, allowing you to focus on a specific area.
There are two types of filters: Visualization filters affect only the current visualization, while Data
Source filters affect all visualizations using this data source.
Lets create a simple visualization to practice Filters:
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
FILTERS - BASICS
Lets focus on 2012 and 2013 only.
STEP 1: Drag and drop the Transaction Year field to the filter
tab. Put it in the Visualization section.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
A new filter
is added
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
FILTERS - ADVANCED
Filters behave differently
depending if they are for a
numerical measure or a
category.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
CALCULATIONS
SAS Visual Analytics allows you to create on-the-fly calculations of all your data.
There are two types of calculations:
1.
2.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
CALCULATIONS - CREATING
You can switch between visual (drag and
drop) and text mode to edit the calculation.
This is the name of the
Calculated Item or
Aggregated Measure. It will
appear as a data item in the
data pane, available for
visualizations and reports.
These are the various data
elements that you can use
in a calculation.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
CALCULATIONS EDITING
A few calculations have already been created for you in the
Insight Toy First Exploration. Among them, Gross Margin,
which is a row-level Calculated Item, and Gross Margin Ratio,
which is a post-aggregation Measure.
To view how these calculations were created or modify them,
simply select one, right-click and select Edit.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
You can create Distinct Counts on Category Items (for example, to display the number of cities
where each product line is sold).
You can create a Percent of Total, or multiple types of time-derived calculations such as Year-ToDate, Difference From Previous Period, etc.
As with any calculations, you can view and edit these calculations after they are created.
GEOGRAPHIES
In SAS Visual Analytics, any category
field can be designated as a Geography.
You might assign a geography to a predefined geographic role (such as country
name), or create a customized geography
data item to identify geographic
information that is specific to your
organization (for example: sales regions,
warehouse locations, oil platforms, and
so on).
ANALYZING GEOGRAPHIES
If you have any visualization opened, minimize it and start from a blank workspace.
Select Geo Hierarchy and hold the CTRL key to select Order Total.
Simply drag and drop them on the workspace. Because the category selected has been pre-defined as
a geography item, SAS Visual Analytics will automatically offer us a Map visual.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
ANALYZING GEOGRAPHIES
Since you used a hierarchy, you can drill down on it: double-click on the NA bubble and then on the US
bubble.
You can also add another measure. In this case here, by dragging and dropping Gross Margin Ratio,
you are able to see revenue of each region (the size of the bubbles) as well as their relative Gross Margin
contribution (the color of the bubbles).
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
Now you have a Crosstab that shows aggregated Order Sales Cost
for each Product Line by Facility Country/Region.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
Now you have multiple rows and columns of aggregated product financial
data, in seconds. It is easy to add or replace elements in this manner.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
Notice how, because we are now using Hierarchies, we can drill down or
expand on any row or column? You can read more about hierarchies here.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
There is an add-on to SAS Visual Analytics that allows you to generate numerous segmented
models in parallel and onthe-fly. Visit www.sas.com/visualstatistics to try it now!
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
EXPLORING TREEMAPS
Since you started with a
Hierarchy, you can simply drilldown on any rectangles by
double-clicking on it.
Notice as well the breadcrumb at
the top that indicates where you
currently are exploring in the
hierarchy tree.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
You can either click and hold the CTRL key or Lasso
these areas with the mouse by holding the button and
selecting the areas to be explored.
Then, press the right mouse button to get the menu and
select Include Only Selection.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
CORRELATION MATRIX
Notice the intersection
Vendor Satisfaction and
Sales Rep Rating. It has
a strong relationship of
0.973 (1 being the
strongest possible
correlation).
This implies they share a
strong relationship.
Double Click this
intersection to explore it
further.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
CORRELATIONS - INVESTIGATING
Using the mouse as a lasso,
highlight the blue bins in the
bottom left, as shown in the
screenshot. Right click on the
highlighted transactions and
select Include Only Selection.
This will create an instant filter on
our data.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
Most business operations have some form of network: Supply chains, Import/export, Debt and
loans, Twitter influencer analysis, transportation routes, etc. In fact, any hierarchy can be
represented as a network.
SAS Visual Analytics supports two types of Networks: hierarchy-based, and ungrouped.
Ungrouped networks require two data items: a Source and a Target. The target has to be a subset
of the Source. Examples of this type of Network are:
Employees and their managers (because all managers are also employees)
Intercompany transactions (subsidiary to subsidiary)
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
STEP 5: On the
Properties tab,
select Show
labels and vary the
Node Spacing to
your liking.
From here you can drill down and explore on any level.
You can also modify many things on the Properties tab.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
Twitter feed
Analysis
Manufacturing
Supply Chain
BOX PLOTS
Box Plots are a very powerful way to derive multiple statistics about your data. A box plot
represents the distribution of data values by using rectangular box and lines called whiskers.
Outliers
Maximum Value
Q3 (75th percentile)
Median
Mean
Q1 (25th percentile)
Minimum Value
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
Also note that clearly, the better a sales representative is rated, the more his/her vendors seem satisfied. However, this
seems independent of the actual sales revenue (the size of the bubble).
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
A data item (Order) has been identified as the unique row identifier; and
2.
STEP 3: Back in the Roles tab, click on the little down arrow for
Document Collection, and pick the only choice available: Order Note.
Visual Analytics will analyze the content of that data, identify topics
(words that often appear together), and represent the most relevant
terms for each topic by varying the size of the terms.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
Links can be
customized
for your
organizations
needs.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
For more information, please consult the SAS Visual Analytics User Guide, available under the Help menu.
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
EXPLORE!
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
www.SAS.com
PAGE 1 OF 3
Field
Type
Description
Facility Country/
Region Code
Category
Category/Date
Category/Date
Date the manufacturing facility was opened. Varies from 1980 to 2010.
Manufacturing Batch
Category
Manufacturing batch corresponding to each transaction. All unique one per row.
Category
Order note
Category/
Document Collection
Free form text notes taken at the moment the vendor ordered items. This will be used in Text Analytics and is in a separate
data set.
Product Brand
Category
Product Line
Category
Product Make
Category
Product SKU
Category
779 product SKUs produced, falling into the various product styles.
Product Style
Category
Sales Rep
Category
Transaction date
Category/Date
Category/Date
Category/Date
Category/Date
Transaction year
Category/Date
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
PAGE 2 OF 3
Field
Type
Description
Category/Date
Category/Date
Category
Binary field (Y/N) representing whether or not this vendor is in our loyalty program.
Vendor Type
Measure (Category)
Numerical category. 5 types of vendors: (1) Convenience store, (2) Discount store, (3) Department store, (4) Kiosk or (5) Other.
Facility
Geography
Facility City
Geography
Facility Continents
Geography
Facility Country/Region
Geography
Facility State/Province
Geography
Manufacturing Facility
Geography
Vendor
Geography
Country Hierarchy
Hierarchy
Geo Hierarchy
Hierarchy
Product Hierarchy
Hierarchy
A custom hierarchy made up of Product SKU, Style, Make, Line and Brand
Aggregated Measure
Gross Margin
Measure (calculated)
Gross Margin for each sale = Order Total Order product Cost
Measure (calculated)
C op yr i g h t 2 0 1 4 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
PAGE 3 OF 3
Type
Description
Market Penetration
Measure
For each transaction, the corresponding % of market share in that particular region at that time.
Order Count
Measure (calculated)
Measure
Measure
Measure
Direct manufacturing costs associated with that transaction. Included I the calculation of gross Margin.
Measure
Order Total
Measure
Measure
A ratio of Sales Rep Actual sales divided by Sales Rep target. Calculated DAILY
Measure
Measure
Measure
Measure
Vendor Distance
Measure
Vendor Rating
Measure
Subjective evaluation, from 0% to 100%, representing the potential value of a customer (vendor) for insight Toy.
Vendor Satisfaction
Measure
Cumulative DAILY sales for each sales representative. This value should not be summed across the transactions (since it has
already been aggregated).
Daily sales Target (goal) for each sales representative. This value should not be summed across the transactions (since it has
already been aggregated).
Potential revenue (funnel) from all the vendors (customers) assigned to a sales representative. This value should not be summed
across the transactions (since it has already been aggregated).
Number of customers (vendors) assigned to a sales representative. This value should not be summed across the transactions
(since it has already been aggregated).