Skip to content

Commit 8e51097

Browse files
Merge pull request #86 from oracle-devrel/lift-analytics-artifacts
lift-analytics-Maps using Json files
2 parents 87e4708 + 83f7731 commit 8e51097

File tree

9 files changed

+160
-0
lines changed

9 files changed

+160
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
Copyright (c) 2023 Oracle and/or its affiliates.
3+
4+
The Universal Permissive License (UPL), Version 1.0
5+
6+
Subject to the condition set forth below, permission is hereby granted to any
7+
person obtaining a copy of this software, associated documentation and/or data
8+
(collectively the "Software"), free of charge and under any and all copyright
9+
rights in the Software, and any and all patent rights owned or freely
10+
licensable by each licensor hereunder covering either (i) the unmodified
11+
Software as contributed to or provided by such licensor, or (ii) the Larger
12+
Works (as defined below), to deal in both
13+
14+
(a) the Software, and
15+
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
16+
one is included with the Software (each a "Larger Work" to which the Software
17+
is contributed by such licensors),
18+
19+
without restriction, including without limitation the rights to copy, create
20+
derivative works of, display, perform, and distribute the Software and make,
21+
use, sell, offer for sale, import, export, have made, and have sold the
22+
Software and the Larger Work(s), and to sublicense the foregoing rights on
23+
either these or other terms.
24+
25+
This license is subject to the following condition:
26+
The above copyright notice and either this complete permission notice or at
27+
a minimum a reference to the UPL must be included in all copies or
28+
substantial portions of the Software.
29+
30+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36+
SOFTWARE.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# OAC extensions for Maps using Json files
2+
3+
Oracle Analytics platform is a cloud-native service that provides the capabilities required to address the entire analytics process including data ingestion and modeling, data preparation and enrichment, and visualization and collaboration, without compromising security and governance.
4+
Oracle Analytics Extensions expand and enhance your Oracle Analytics deployment with custom extensions to further your visualization capabilities.
5+
6+
The purpose of Map Extension functionality is to provide consumers and business intelligence analysts with the functionality to analyze the data in map views. With this artifact, you can add maps for different countries shared and display data on maps in different formats.
7+
This geo JSON can create maps to visualize data such as sales by city and country, and products purchased in a specific region, and determine where you might need to add sales resources.
8+
9+
Owner: Shriya Kastwar
10+
11+
## When to use this asset?
12+
13+
Map Extensions should be considered when some important decision needs to be taken by the management to deploy the resources. Its primary focus is on maintaining profit for the business along with the effective performance of the resources.
14+
15+
The Map Extension for various countries will be helpful for implementing maps for different Europe countries easily for any data model. It enables you to quickly use the JSON files provided with your data and create meaningful insights.
16+
17+
This asset will provide the following key features and benefits:
18+
19+
1) Extension to the basic map functionality.
20+
2) Interacts with the data.
21+
3) Decision-Making Strategies.
22+
4) Meaningful Insights.
23+
5) More detailed Reports.
24+
25+
26+
## How to use this asset?
27+
28+
Here is an overview of how to use this asset:
29+
30+
You can upload these JSON files using the below steps in Oracle Analytics Cloud and use them:
31+
32+
Step 1: On the Home page click Navigator, and then click Console.
33+
Step 2: Click Maps, click Map Layers, and click Custom Map Layers.
34+
Step 3: Click on Add Custom Map and upload the JSON files provided.
35+
Step 4: Add a custom uploaded Map to the Report by selecting the report and clicking on the Map Layer.
36+
37+
You will be able to view the data in the report across the selected maps.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
Copyright 2010-2023 Mike Bostock
3+
4+
Permission to use, copy, modify, and/or distribute this software for any purpose
5+
with or without fee is hereby granted, provided that the above copyright notice
6+
and this permission notice appear in all copies.
7+
8+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
10+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
12+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
13+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
14+
THIS SOFTWARE.
Loading
Loading
Loading
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Introduction
2+
3+
Oracle Analytics platform is a cloud native service that provides the capabilities required to address the entire analytics process including data ingestion and modeling, data preparation and enrichment, and visualization and collaboration, without compromising security and governance. Oracle Analytics Extensions expand and enhance your Oracle Analytics deployment with custom extensions to further your visualization capabilities.
4+
5+
Map Extension functionality can be used by Oracle Analytics Cloud consumers and business intelligence analysts.
6+
7+
## Pre-requisites:
8+
9+
In order to enable this solution, the following must be available:
10+
11+
- Operating system (64 bits): Linux, Solaris x86-64, SPARC, Windows, AIX, HP-UX, Linux.
12+
- Oracle Analytics Cloud: Enterprise Edition.
13+
- Oracle Cloud Infrastructure Account: You will need an active Oracle Cloud Infrastructure account.
14+
- IAM User: You need to create an Identity and Access Management (IAM) user in your OCI tenancy with the required permissions to access Oracle Cloud.
15+
16+
### Main Features:
17+
18+
- Report for Revenue Analysis.
19+
- Custom Map Extension.
20+
- JSON Files for different countries.
21+
22+
## Business Value
23+
The customer is required to get their data columns modeled to be displayed on maps. They can configure the map data and then analyze it in map views.
24+
Map views allow them to display data on maps in different formats and to interact with data. They can create maps to visualize data such as sales by city and country, and products purchased in a specific region, and determine where you might need to add sales resources.
25+
26+
## Use Case
27+
28+
When a custom map extension is used, customers can visualize the data by countries/cities.
29+
The custom map extension adds more value to the data by representing it from the least to the most ranges in different colors and highlighting meaningful insights. This solution shows how custom maps can be updated in the Oracle Analytics Cloud and used in a map graph representing revenue by country.
30+
31+
The implemented solution satisfies below functional requirements:
32+
33+
- Be able to do Revenue analysis.
34+
- Visualize sales data.
35+
- Drill down reports to sales by country and city.
36+
- Product purchased in a specific region.
37+
- Insights to highlight turnover performance by country.
38+
- Represent Net profit by country/city.
39+
40+
### Update Custom Map Layers:
41+
42+
1. On the Home page click Navigator, and then click Console.
43+
44+
45+
![Alt text](<images/Figure 1.png>)
46+
47+
Figure 1. Representation of navigation for uploading custom map in Oracle Analytics Cloud.
48+
49+
2. Click Maps, click Map Layers, and click Custom Map Layers.
50+
51+
![Alt text](<images/Figure 2.png>)
52+
53+
Figure 2. Representation of selection of map extension functionality in Oracle Analytics Cloud.
54+
55+
3. Add Custom Map.
56+
57+
58+
![Alt text](<images/Figure 3.png>)
59+
60+
Figure 3. Representation of uploading geo json files in Oracle Analytics Cloud.
61+
62+
4. Adding custom uploaded Map to the Report.
63+
64+
![Alt text](<images/Figure 4.png>)
65+
66+
Figure 4. Representation of adding uploaded custom Maps to the Analytics Report.
67+
68+
5. Report Output
69+
70+
![Alt text](<images/Figure 5.png>)
71+
72+
73+
Figure 5. Representation of Revenue Analysis within Europe.

0 commit comments

Comments
 (0)