Добавил граффик
This commit is contained in:
35
charts/Top_10_California_Names_Timeseries_147.yaml
Normal file
35
charts/Top_10_California_Names_Timeseries_147.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
slice_name: Top 10 California Names Timeseries
|
||||
description: null
|
||||
certified_by: null
|
||||
certification_details: null
|
||||
viz_type: echarts_timeseries_line
|
||||
params:
|
||||
compare_lag: '10'
|
||||
compare_suffix: o10Y
|
||||
granularity_sqla: ds
|
||||
groupby:
|
||||
- name
|
||||
limit: '10'
|
||||
markup_type: markdown
|
||||
metrics:
|
||||
- aggregate: SUM
|
||||
column:
|
||||
column_name: num_california
|
||||
expression: CASE WHEN state = 'CA' THEN num ELSE 0 END
|
||||
expressionType: SIMPLE
|
||||
label: SUM(num_california)
|
||||
row_limit: 50000
|
||||
time_range: '100 years ago : now'
|
||||
timeseries_limit_metric:
|
||||
aggregate: SUM
|
||||
column:
|
||||
column_name: num_california
|
||||
expression: CASE WHEN state = 'CA' THEN num ELSE 0 END
|
||||
expressionType: SIMPLE
|
||||
label: SUM(num_california)
|
||||
viz_type: echarts_timeseries_line
|
||||
query_context: null
|
||||
cache_timeout: null
|
||||
uuid: d76d22b3-544e-479e-9600-221ab6a24268
|
||||
version: 1.0.0
|
||||
dataset_uuid: 26bf3431-830b-4418-b16d-1dd4ed5a0e0d
|
||||
35
charts/Vaccine_Candidates_per_Country__Stage_120.yaml
Normal file
35
charts/Vaccine_Candidates_per_Country__Stage_120.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
slice_name: Vaccine Candidates per Country & Stage
|
||||
description: null
|
||||
certified_by: null
|
||||
certification_details: null
|
||||
viz_type: heatmap_v2
|
||||
params:
|
||||
adhoc_filters: []
|
||||
x_axis: clinical_stage
|
||||
groupby: country_name
|
||||
bottom_margin: auto
|
||||
datasource: 14__table
|
||||
left_margin: auto
|
||||
linear_color_scheme: schemeYlOrBr
|
||||
metric: count
|
||||
normalize_across: heatmap_v2
|
||||
row_limit: 10000
|
||||
show_legend: true
|
||||
show_percentage: true
|
||||
sort_x_axis: alpha_asc
|
||||
sort_y_axis: alpha_asc
|
||||
time_range: No filter
|
||||
url_params: {}
|
||||
viz_type: heatmap_v2
|
||||
xscale_interval: null
|
||||
value_bounds:
|
||||
- null
|
||||
- null
|
||||
y_axis_format: SMART_NUMBER
|
||||
yscale_interval: null
|
||||
annotation_layers: []
|
||||
query_context: null
|
||||
cache_timeout: null
|
||||
uuid: cd111331-d286-4258-9020-c7949a109ed2
|
||||
version: 1.0.0
|
||||
dataset_uuid: 974b7a1c-22ea-49cb-9214-97b7dbd511e0
|
||||
@@ -21,10 +21,41 @@ position:
|
||||
- GRID_ID
|
||||
- ROW-N-XOU9E22X
|
||||
type: CHART
|
||||
CHART-Z5mRXTl_hHBxjc_kzBfni:
|
||||
children: []
|
||||
id: CHART-Z5mRXTl_hHBxjc_kzBfni
|
||||
meta:
|
||||
chartId: 120
|
||||
height: 50
|
||||
sliceName: Vaccine Candidates per Country & Stage
|
||||
uuid: cd111331-d286-4258-9020-c7949a109ed2
|
||||
width: 4
|
||||
parents:
|
||||
- ROOT_ID
|
||||
- GRID_ID
|
||||
- TAB-O63l65oNhP831Rd2luxVH
|
||||
- ROW-ifM86G9T3y4ooSET5ZPVn
|
||||
type: CHART
|
||||
CHART-qLfgUJSOiXUm7ONdEnQG0:
|
||||
children: []
|
||||
id: CHART-qLfgUJSOiXUm7ONdEnQG0
|
||||
meta:
|
||||
chartId: 147
|
||||
height: 50
|
||||
sliceName: Top 10 California Names Timeseries
|
||||
uuid: d76d22b3-544e-479e-9600-221ab6a24268
|
||||
width: 4
|
||||
parents:
|
||||
- ROOT_ID
|
||||
- GRID_ID
|
||||
- ROW-obUEkHvpBs7rzZUVMLHis
|
||||
type: CHART
|
||||
DASHBOARD_VERSION_KEY: v2
|
||||
GRID_ID:
|
||||
children:
|
||||
- TABS-DzYJJz-UwreckfgTZKoDr
|
||||
- ROW-obUEkHvpBs7rzZUVMLHis
|
||||
- ROW-eAi7Xt3P8OQuM4-bf2Cig
|
||||
- ROW-N-XOU9E22X
|
||||
id: GRID_ID
|
||||
parents:
|
||||
@@ -51,8 +82,39 @@ position:
|
||||
- ROOT_ID
|
||||
- GRID_ID
|
||||
type: ROW
|
||||
TAB-O63l65oNhP831Rd2luxVH:
|
||||
ROW-eAi7Xt3P8OQuM4-bf2Cig:
|
||||
children: []
|
||||
id: ROW-eAi7Xt3P8OQuM4-bf2Cig
|
||||
meta:
|
||||
background: BACKGROUND_TRANSPARENT
|
||||
parents:
|
||||
- ROOT_ID
|
||||
- GRID_ID
|
||||
type: ROW
|
||||
ROW-ifM86G9T3y4ooSET5ZPVn:
|
||||
children:
|
||||
- CHART-Z5mRXTl_hHBxjc_kzBfni
|
||||
id: ROW-ifM86G9T3y4ooSET5ZPVn
|
||||
meta:
|
||||
background: BACKGROUND_TRANSPARENT
|
||||
parents:
|
||||
- ROOT_ID
|
||||
- GRID_ID
|
||||
- TAB-O63l65oNhP831Rd2luxVH
|
||||
type: ROW
|
||||
ROW-obUEkHvpBs7rzZUVMLHis:
|
||||
children:
|
||||
- CHART-qLfgUJSOiXUm7ONdEnQG0
|
||||
id: ROW-obUEkHvpBs7rzZUVMLHis
|
||||
meta:
|
||||
background: BACKGROUND_TRANSPARENT
|
||||
parents:
|
||||
- ROOT_ID
|
||||
- GRID_ID
|
||||
type: ROW
|
||||
TAB-O63l65oNhP831Rd2luxVH:
|
||||
children:
|
||||
- ROW-ifM86G9T3y4ooSET5ZPVn
|
||||
id: TAB-O63l65oNhP831Rd2luxVH
|
||||
meta:
|
||||
defaultText: Tab title
|
||||
@@ -75,15 +137,33 @@ metadata:
|
||||
native_filter_configuration: []
|
||||
color_scheme_domain: []
|
||||
shared_label_colors: []
|
||||
map_label_colors: {}
|
||||
map_label_colors:
|
||||
Michael: '#1FA8C9'
|
||||
David: '#454E7C'
|
||||
Christopher: '#5AC189'
|
||||
Daniel: '#FF7F44'
|
||||
Jennifer: '#666666'
|
||||
Matthew: '#E04355'
|
||||
Robert: '#FCC700'
|
||||
Jose: '#A868B7'
|
||||
Anthony: '#3CCCCB'
|
||||
Jessica: '#A38F79'
|
||||
label_colors: {}
|
||||
chart_configuration: {}
|
||||
chart_configuration:
|
||||
'147':
|
||||
id: 147
|
||||
crossFilters:
|
||||
scope: global
|
||||
chartsInScope:
|
||||
- 120
|
||||
global_chart_configuration:
|
||||
scope:
|
||||
rootPath:
|
||||
- ROOT_ID
|
||||
excluded: []
|
||||
chartsInScope: []
|
||||
chartsInScope:
|
||||
- 120
|
||||
- 147
|
||||
color_scheme: ''
|
||||
refresh_frequency: 0
|
||||
expanded_slices: {}
|
||||
|
||||
17
databases/examples.yaml
Normal file
17
databases/examples.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
database_name: examples
|
||||
sqlalchemy_uri: postgresql://examples:XXXXXXXXXX@db:5432/examples
|
||||
cache_timeout: null
|
||||
expose_in_sqllab: true
|
||||
allow_run_async: false
|
||||
allow_ctas: false
|
||||
allow_cvas: false
|
||||
allow_dml: false
|
||||
allow_file_upload: false
|
||||
extra:
|
||||
metadata_params: {}
|
||||
engine_params: {}
|
||||
metadata_cache_timeout: {}
|
||||
schemas_allowed_for_file_upload: []
|
||||
impersonate_user: false
|
||||
uuid: a2dc77af-e654-49bb-b321-40f6b559a1ee
|
||||
version: 1.0.0
|
||||
136
datasets/examples/birth_names_2.yaml
Normal file
136
datasets/examples/birth_names_2.yaml
Normal file
@@ -0,0 +1,136 @@
|
||||
table_name: birth_names
|
||||
main_dttm_col: ds
|
||||
description: null
|
||||
default_endpoint: null
|
||||
offset: 0
|
||||
cache_timeout: null
|
||||
catalog: null
|
||||
schema: public
|
||||
sql: null
|
||||
params: null
|
||||
template_params: null
|
||||
filter_select_enabled: true
|
||||
fetch_values_predicate: null
|
||||
extra: null
|
||||
normalize_columns: false
|
||||
always_filter_main_dttm: false
|
||||
folders: null
|
||||
uuid: 26bf3431-830b-4418-b16d-1dd4ed5a0e0d
|
||||
metrics:
|
||||
- metric_name: count
|
||||
verbose_name: COUNT(*)
|
||||
metric_type: count
|
||||
expression: COUNT(*)
|
||||
description: null
|
||||
d3format: null
|
||||
currency: null
|
||||
extra: null
|
||||
warning_text: null
|
||||
- metric_name: sum__num
|
||||
verbose_name: null
|
||||
metric_type: null
|
||||
expression: SUM(num)
|
||||
description: null
|
||||
d3format: null
|
||||
currency: null
|
||||
extra: null
|
||||
warning_text: null
|
||||
columns:
|
||||
- column_name: num_california
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: true
|
||||
type: null
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: CASE WHEN state = 'CA' THEN num ELSE 0 END
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: ds
|
||||
verbose_name: null
|
||||
is_dttm: true
|
||||
is_active: true
|
||||
type: TIMESTAMP WITHOUT TIME ZONE
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: ''
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: state
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: true
|
||||
type: VARCHAR(10)
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: ''
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: gender
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: true
|
||||
type: VARCHAR(16)
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: ''
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: name
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: true
|
||||
type: VARCHAR(255)
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: ''
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: num_boys
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: true
|
||||
type: BIGINT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: ''
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: num_girls
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: true
|
||||
type: BIGINT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: ''
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: num
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: true
|
||||
type: BIGINT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: ''
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
version: 1.0.0
|
||||
database_uuid: a2dc77af-e654-49bb-b321-40f6b559a1ee
|
||||
227
datasets/examples/covid_vaccines_13.yaml
Normal file
227
datasets/examples/covid_vaccines_13.yaml
Normal file
@@ -0,0 +1,227 @@
|
||||
table_name: covid_vaccines
|
||||
main_dttm_col: null
|
||||
description: null
|
||||
default_endpoint: null
|
||||
offset: 0
|
||||
cache_timeout: null
|
||||
catalog: null
|
||||
schema: public
|
||||
sql: ''
|
||||
params: null
|
||||
template_params: null
|
||||
filter_select_enabled: true
|
||||
fetch_values_predicate: null
|
||||
extra: null
|
||||
normalize_columns: false
|
||||
always_filter_main_dttm: false
|
||||
folders: null
|
||||
uuid: 974b7a1c-22ea-49cb-9214-97b7dbd511e0
|
||||
metrics:
|
||||
- metric_name: count
|
||||
verbose_name: COUNT(*)
|
||||
metric_type: null
|
||||
expression: COUNT(*)
|
||||
description: null
|
||||
d3format: null
|
||||
currency: null
|
||||
extra: null
|
||||
warning_text: null
|
||||
columns:
|
||||
- column_name: clinical_stage
|
||||
verbose_name: null
|
||||
is_dttm: null
|
||||
is_active: null
|
||||
type: STRING
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: "CASE \nWHEN stage_of_development = 'Pre-clinical' THEN '0. Pre-clinical'\n\
|
||||
WHEN stage_of_development = 'Phase I' THEN '1. Phase I' \nWHEN stage_of_development\
|
||||
\ = 'Phase I/II' or stage_of_development = 'Phase II' THEN '2. Phase II or Combined\
|
||||
\ I/II'\nWHEN stage_of_development = 'Phase III' THEN '3. Phase III'\nWHEN stage_of_development\
|
||||
\ = 'Authorized' THEN '4. Authorized'\nEND"
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: fda_approved_indications
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: DOUBLE PRECISION
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: clinical_trials_for_other_diseases_or_related_use
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: date_last_updated
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: treatment_vs_vaccine
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: anticipated_next_steps
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: developer_or_researcher
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: stage_of_development
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: ioc_country_code
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: clinical_trials
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: product_category
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: country_name
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: published_results
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: product_description
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: sources
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
- column_name: funder
|
||||
verbose_name: null
|
||||
is_dttm: false
|
||||
is_active: null
|
||||
type: TEXT
|
||||
advanced_data_type: null
|
||||
groupby: true
|
||||
filterable: true
|
||||
expression: null
|
||||
description: null
|
||||
python_date_format: null
|
||||
extra: null
|
||||
version: 1.0.0
|
||||
database_uuid: a2dc77af-e654-49bb-b321-40f6b559a1ee
|
||||
@@ -1,3 +1,3 @@
|
||||
version: 1.0.0
|
||||
type: Dashboard
|
||||
timestamp: '2026-01-23T09:13:38.263099+00:00'
|
||||
timestamp: '2026-01-23T09:49:24.954150+00:00'
|
||||
|
||||
Reference in New Issue
Block a user