Files
superset2/superset/examples/sales_dashboard/dashboard.yaml

760 lines
15 KiB
YAML

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
certification_details: ''
certified_by: ''
css: ''
dashboard_title: Sales Dashboard
description: null
metadata:
chart_configuration:
08aff161-f60c-4cb3-a225-dc9b1140d2e3:
crossFilters:
chartsInScope:
- 111
- 112
- 113
- 114
- 115
- 117
- 118
- 119
- 120
scope: global
id: 08aff161-f60c-4cb3-a225-dc9b1140d2e3
09c497e0-f442-1121-c9e7-671e37750424:
crossFilters:
chartsInScope:
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
scope: global
id: 09c497e0-f442-1121-c9e7-671e37750424
692aca26-a526-85db-c94c-411c91cc1077:
crossFilters:
chartsInScope:
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 119
- 120
scope: global
id: 692aca26-a526-85db-c94c-411c91cc1077
b8b7ca30-6291-44b0-bc64-ba42e2892b86:
crossFilters:
chartsInScope:
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
scope: global
id: b8b7ca30-6291-44b0-bc64-ba42e2892b86
db9609e4-9b78-4a32-87a7-4d9e19d51cd8:
crossFilters:
chartsInScope:
- 111
- 112
- 114
- 115
- 116
- 117
- 118
- 119
- 120
scope: global
id: db9609e4-9b78-4a32-87a7-4d9e19d51cd8
f065a533-2e13-42b9-bd19-801a21700dff:
crossFilters:
chartsInScope:
- 111
- 112
- 113
- 114
- 115
- 116
- 118
- 119
- 120
scope: global
id: f065a533-2e13-42b9-bd19-801a21700dff
color_scheme: supersetColors
color_scheme_domain:
- '#1FA8C9'
- '#454E7C'
- '#5AC189'
- '#FF7F44'
- '#666666'
- '#E04355'
- '#FCC700'
- '#A868B7'
- '#3CCCCB'
- '#A38F79'
- '#8FD3E4'
- '#A1A6BD'
- '#ACE1C4'
- '#FEC0A1'
- '#B2B2B2'
- '#EFA1AA'
- '#FDE380'
- '#D3B3DA'
- '#9EE5E5'
- '#D1C6BC'
cross_filters_enabled: true
default_filters: '{}'
expanded_slices: {}
global_chart_configuration:
chartsInScope:
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
scope:
excluded: []
rootPath:
- ROOT_ID
label_colors:
Classic Cars: '#454E7C'
Large: '#5AC189'
Medium: '#1FA8C9'
Motorcycles: '#FF7F44'
Planes: '#E04355'
SUM(SALES): '#1FA8C9'
Ships: '#FCC700'
Small: '#454E7C'
Trains: '#A868B7'
Trucks and Buses: '#666666'
Vintage Cars: '#5AC189'
map_label_colors:
Cancelled: '#454E7C'
Disputed: '#E04355'
In Process: '#666666'
On Hold: '#5AC189'
Resolved: '#FF7F44'
Shipped: '#1FA8C9'
native_filter_configuration:
- cascadeParentIds: []
chartsInScope:
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
controlValues:
defaultToFirstItem: false
enableEmptyFilter: false
inverseSelection: false
multiSelect: true
searchAllOptions: false
defaultDataMask:
extraFormData: {}
filterState: {}
ownState: {}
description: ''
filterType: filter_select
id: NATIVE_FILTER-HX2lV--YaAZRQfJ_yfYB2
name: Country
scope:
excluded: []
rootPath:
- ROOT_ID
tabsInScope:
- TAB-d-E0Zc1cTH
- TAB-4fthLQmdX
targets:
- column:
name: country
datasetUuid: e8623bb9-5e00-f531-506a-19607f5f8005
type: NATIVE_FILTER
- cascadeParentIds: []
chartsInScope:
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
controlValues:
enableEmptyFilter: false
defaultDataMask:
extraFormData: {}
filterState: {}
ownState: {}
description: ''
filterType: filter_range
id: NATIVE_FILTER-oCF7UtoHuDIBg44q5peth
name: Order Quantity
scope:
excluded: []
rootPath:
- ROOT_ID
tabsInScope:
- TAB-d-E0Zc1cTH
- TAB-4fthLQmdX
targets:
- column:
name: quantity_ordered
datasetUuid: e8623bb9-5e00-f531-506a-19607f5f8005
type: NATIVE_FILTER
- cascadeParentIds: []
chartsInScope:
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
controlValues:
enableEmptyFilter: false
defaultDataMask:
extraFormData: {}
filterState: {}
ownState: {}
description: ''
filterType: filter_time
id: NATIVE_FILTER-V_UJOthxN8gCeYSD0id9b
name: Time Range
scope:
excluded: []
rootPath:
- ROOT_ID
tabsInScope:
- TAB-d-E0Zc1cTH
- TAB-4fthLQmdX
targets:
- {}
type: NATIVE_FILTER
- cascadeParentIds: []
chartsInScope:
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
controlValues:
enableEmptyFilter: false
defaultDataMask:
extraFormData: {}
filterState: {}
ownState: {}
description: ''
filterType: filter_timegrain
id: NATIVE_FILTER-t8xOh3el1KBWWiCIF5hIN
name: Time Grain
scope:
excluded: []
rootPath:
- ROOT_ID
tabsInScope:
- TAB-d-E0Zc1cTH
- TAB-4fthLQmdX
targets:
- datasetUuid: e8623bb9-5e00-f531-506a-19607f5f8005
type: NATIVE_FILTER
- cascadeParentIds: []
chartsInScope:
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
controlValues:
defaultToFirstItem: false
enableEmptyFilter: false
inverseSelection: false
multiSelect: true
searchAllOptions: false
defaultDataMask:
extraFormData: {}
filterState: {}
ownState: {}
description: ''
filterType: filter_select
id: NATIVE_FILTER-9tGcTjqhNxOgX2AEPLVil
name: Postal Code
scope:
excluded: []
rootPath:
- ROOT_ID
tabsInScope:
- TAB-d-E0Zc1cTH
- TAB-4fthLQmdX
targets:
- column:
name: postal_code
datasetUuid: e8623bb9-5e00-f531-506a-19607f5f8005
type: NATIVE_FILTER
- cascadeParentIds: []
chartsInScope:
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
controlValues:
defaultToFirstItem: false
enableEmptyFilter: false
inverseSelection: false
multiSelect: true
searchAllOptions: false
defaultDataMask:
extraFormData: {}
filterState: {}
ownState: {}
description: ''
filterType: filter_select
id: NATIVE_FILTER-pGnu5e_bg1IGz2wdzIuCA
name: State
scope:
excluded: []
rootPath:
- ROOT_ID
tabsInScope:
- TAB-d-E0Zc1cTH
- TAB-4fthLQmdX
targets:
- column:
name: state
datasetUuid: e8623bb9-5e00-f531-506a-19607f5f8005
type: NATIVE_FILTER
- cascadeParentIds: []
chartsInScope:
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
controlValues:
enableEmptyFilter: false
defaultDataMask:
extraFormData: {}
filterState: {}
ownState: {}
description: ''
filterType: filter_range
id: NATIVE_FILTER-EVb_e9pndL9UByuZt0z_w
name: MSRP
scope:
excluded: []
rootPath:
- ROOT_ID
tabsInScope:
- TAB-d-E0Zc1cTH
- TAB-4fthLQmdX
targets:
- column:
name: msrp
datasetUuid: e8623bb9-5e00-f531-506a-19607f5f8005
type: NATIVE_FILTER
refresh_frequency: 0
shared_label_colors:
- Classic Cars
- Motorcycles
- Planes
- Ships
- Trains
- Trucks and Buses
- Vintage Cars
timed_refresh_immune_slices: []
position:
CHART-1NOOLm5YPs:
children: []
id: CHART-1NOOLm5YPs
meta:
chartId: 41
height: 25
sliceName: Items Sold
sliceNameOverride: Total Products Sold
uuid: c3d643cd-fd6f-4659-a5b7-59402487a8d0
width: 2
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-d-E0Zc1cTH
- ROW-Tyv02UA_6W
- COLUMN-8Rp54B6ikC
type: CHART
CHART-AYpv8gFi_q:
children: []
id: CHART-AYpv8gFi_q
meta:
chartId: 42
height: 70
sliceName: Number of Deals (for each Combination)
uuid: bd20fc69-dd51-46c1-99b5-09e37a434bf1
width: 6
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-4fthLQmdX
- ROW-0l1WcDzW3
type: CHART
CHART-KKT9BsnUst:
children: []
id: CHART-KKT9BsnUst
meta:
chartId: 45
height: 50
sliceName: Quarterly Sales (By Product Line)
sliceNameOverride: Quarterly Revenue (By Product Line)
uuid: db9609e4-9b78-4a32-87a7-4d9e19d51cd8
width: 6
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-d-E0Zc1cTH
- ROW-oAtmu5grZ
type: CHART
CHART-OJ9aWDmn1q:
children: []
id: CHART-OJ9aWDmn1q
meta:
chartId: 46
height: 70
sliceName: Proportion of Revenue by Product Line
sliceNameOverride: Proportion of Monthly Revenue by Product Line
uuid: 08aff161-f60c-4cb3-a225-dc9b1140d2e3
width: 6
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-4fthLQmdX
- ROW-0l1WcDzW3
type: CHART
CHART-YFg-9wHE7s:
children: []
id: CHART-YFg-9wHE7s
meta:
chartId: 47
height: 49
sliceName: Seasonality of Revenue (per Product Line)
uuid: cf0da099-b3ab-4d94-ab62-cf353ac3c611
width: 6
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-4fthLQmdX
- ROW-E7MDSGfnm
type: CHART
CHART-_LMKI0D3tj:
children: []
id: CHART-_LMKI0D3tj
meta:
chartId: 44
height: 49
sliceName: Revenue by Deal Size
sliceNameOverride: Monthly Revenue by Deal SIze
uuid: f065a533-2e13-42b9-bd19-801a21700dff
width: 6
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-4fthLQmdX
- ROW-E7MDSGfnm
type: CHART
CHART-id4RGv80N-:
children: []
id: CHART-id4RGv80N-
meta:
chartId: 40
height: 50
sliceName: Items by Product Line
sliceNameOverride: Products Sold By Product Line
uuid: b8b7ca30-6291-44b0-bc64-ba42e2892b86
width: 2
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-d-E0Zc1cTH
- ROW-oAtmu5grZ
- COLUMN-G6_2DvG8aK
type: CHART
CHART-j24u8ve41b:
children: []
id: CHART-j24u8ve41b
meta:
chartId: 43
height: 50
sliceName: Overall Sales (By Product Line)
sliceNameOverride: Total Revenue By Product
uuid: 09c497e0-f442-1121-c9e7-671e37750424
width: 3
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-d-E0Zc1cTH
- ROW-oAtmu5grZ
type: CHART
CHART-lFanAaYKBK:
children: []
id: CHART-lFanAaYKBK
meta:
chartId: 39
height: 26
sliceName: Total Revenue
uuid: 7b12a243-88e0-4dc5-ac33-9a840bb0ac5a
width: 3
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-d-E0Zc1cTH
- ROW-Tyv02UA_6W
- COLUMN-8Rp54B6ikC
type: CHART
CHART-vomBOiI7U9:
children: []
id: CHART-vomBOiI7U9
meta:
chartId: 48
height: 53
sliceName: Quarterly Sales
sliceNameOverride: Quarterly Revenue
uuid: 692aca26-a526-85db-c94c-411c91cc1077
width: 6
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-d-E0Zc1cTH
- ROW-Tyv02UA_6W
type: CHART
COLUMN-8Rp54B6ikC:
children:
- CHART-lFanAaYKBK
- CHART-1NOOLm5YPs
id: COLUMN-8Rp54B6ikC
meta:
background: BACKGROUND_TRANSPARENT
width: 3
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-d-E0Zc1cTH
- ROW-Tyv02UA_6W
type: COLUMN
COLUMN-G6_2DvG8aK:
children:
- CHART-id4RGv80N-
id: COLUMN-G6_2DvG8aK
meta:
background: BACKGROUND_TRANSPARENT
width: 3
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-d-E0Zc1cTH
- ROW-oAtmu5grZ
type: COLUMN
DASHBOARD_VERSION_KEY: v2
GRID_ID:
children: []
id: GRID_ID
parents:
- ROOT_ID
type: GRID
HEADER_ID:
id: HEADER_ID
meta:
text: Sales Dashboard
type: HEADER
MARKDOWN--AtDSWnapE:
children: []
id: MARKDOWN--AtDSWnapE
meta:
code: '# 🚗 Vehicle Sales 🏍
This example dashboard provides insight into the business operations of vehicle
seller. The dataset powering this dashboard can be found [here on Kaggle](https://www.kaggle.com/kyanyoga/sample-sales-data).
### Timeline
The dataset contains data on all orders from the 2003 and 2004 fiscal years,
and some orders from 2005.
### Products Sold
This shop mainly sells the following products:
- 🚗 Classic Cars
- 🏎️ Vintage Cars
- 🏍️ Motorcycles
- 🚚 Trucks & Buses 🚌
- 🛩️ Planes
- 🚢 Ships
- 🚈 Trains'
height: 53
width: 3
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-d-E0Zc1cTH
- ROW-Tyv02UA_6W
type: MARKDOWN
ROOT_ID:
children:
- TABS-e5Ruro0cjP
id: ROOT_ID
type: ROOT
ROW-0l1WcDzW3:
children:
- CHART-OJ9aWDmn1q
- CHART-AYpv8gFi_q
id: ROW-0l1WcDzW3
meta:
background: BACKGROUND_TRANSPARENT
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-4fthLQmdX
type: ROW
ROW-E7MDSGfnm:
children:
- CHART-YFg-9wHE7s
- CHART-_LMKI0D3tj
id: ROW-E7MDSGfnm
meta:
background: BACKGROUND_TRANSPARENT
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-4fthLQmdX
type: ROW
ROW-Tyv02UA_6W:
children:
- COLUMN-8Rp54B6ikC
- CHART-vomBOiI7U9
- MARKDOWN--AtDSWnapE
id: ROW-Tyv02UA_6W
meta:
background: BACKGROUND_TRANSPARENT
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-d-E0Zc1cTH
type: ROW
ROW-oAtmu5grZ:
children:
- COLUMN-G6_2DvG8aK
- CHART-KKT9BsnUst
- CHART-j24u8ve41b
id: ROW-oAtmu5grZ
meta:
background: BACKGROUND_TRANSPARENT
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
- TAB-d-E0Zc1cTH
type: ROW
TAB-4fthLQmdX:
children:
- ROW-0l1WcDzW3
- ROW-E7MDSGfnm
id: TAB-4fthLQmdX
meta:
text: 🧭 Exploratory
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
type: TAB
TAB-d-E0Zc1cTH:
children:
- ROW-Tyv02UA_6W
- ROW-oAtmu5grZ
id: TAB-d-E0Zc1cTH
meta:
text: 🎯 Sales Overview
parents:
- ROOT_ID
- TABS-e5Ruro0cjP
type: TAB
TABS-e5Ruro0cjP:
children:
- TAB-d-E0Zc1cTH
- TAB-4fthLQmdX
id: TABS-e5Ruro0cjP
meta: {}
parents:
- ROOT_ID
type: TABS
published: true
slug: null
uuid: 04f79081-fb49-7bac-7f14-cc76cd2ad93b
version: 1.0.0