From cdec273879a5d98a29a13f1b3b735fcb9e2aaf17 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 17 Mar 2026 12:17:11 +0000 Subject: [PATCH] feat: add new vaccine candidates chart with FDA approval filter and update dashboard configuration - Add new pie chart "Vaccine Candidates per Phase" (ID 163) with FDA approved indications filter - Update existing chart 121 query context configuration - Set dashboard slug to "covid" and add new chart to dashboard layout - Clean up dashboard metadata by removing unused color scheme configurations --- charts/Vaccine_Candidates_per_Phase_121.yaml | 4 +- charts/Vaccine_Candidates_per_Phase_163.yaml | 49 +++++++++++ dashboards/COVID_Vaccine_Dashboard_10.yaml | 89 ++++---------------- metadata.yaml | 2 +- 4 files changed, 69 insertions(+), 75 deletions(-) create mode 100644 charts/Vaccine_Candidates_per_Phase_163.yaml diff --git a/charts/Vaccine_Candidates_per_Phase_121.yaml b/charts/Vaccine_Candidates_per_Phase_121.yaml index f3f034d..42d8624 100644 --- a/charts/Vaccine_Candidates_per_Phase_121.yaml +++ b/charts/Vaccine_Candidates_per_Phase_121.yaml @@ -28,7 +28,9 @@ params: url_params: {} viz_type: pie annotation_layers: [] -query_context: null +query_context: '{"datasource":{"id":13,"type":"table"},"force":false,"queries":[{"time_range":"No + filter","filters":[],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":["clinical_stage"],"metrics":["count"],"annotation_layers":[],"row_limit":10000,"series_limit":0,"group_others_when_limit_reached":false,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"post_processing":[{"operation":"contribution","options":{"columns":["count"],"rename_columns":["count__contribution"]}}]}],"form_data":{"adhoc_filters":[],"annotation_layers":[],"color_scheme":"supersetColors","datasource":"13__table","donut":true,"groupby":["clinical_stage"],"innerRadius":44,"label_line":true,"label_type":"key","labels_outside":true,"metric":"count","number_format":"SMART_NUMBER","outerRadius":61,"queryFields":{"groupby":"groupby","metric":"metrics"},"row_limit":10000,"show_labels":true,"show_legend":false,"slice_id":121,"time_range":"No + filter","url_params":{},"viz_type":"pie","force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' cache_timeout: null uuid: 30b73c65-85e7-455f-bb24-801bb0cdc670 version: 1.0.0 diff --git a/charts/Vaccine_Candidates_per_Phase_163.yaml b/charts/Vaccine_Candidates_per_Phase_163.yaml new file mode 100644 index 0000000..a02c646 --- /dev/null +++ b/charts/Vaccine_Candidates_per_Phase_163.yaml @@ -0,0 +1,49 @@ +slice_name: Vaccine Candidates per Phase +description: null +certified_by: null +certification_details: null +viz_type: pie +params: + datasource: 13__table + viz_type: pie + slice_id: 121 + groupby: + - clinical_stage + metric: count + adhoc_filters: + - expressionType: SIMPLE + subject: fda_approved_indications + operator: IS NOT NULL + operatorId: IS_NOT_NULL + clause: WHERE + sqlExpression: null + isExtra: false + isNew: false + datasourceWarning: false + filterOptionName: filter_lpyfep8j58_o4u3340k07 + row_limit: 10000 + sort_by_metric: true + color_scheme: supersetColors + show_labels_threshold: 5 + show_legend: false + legendType: scroll + legendOrientation: top + label_type: key + number_format: SMART_NUMBER + date_format: smart_date + show_labels: true + labels_outside: true + label_line: true + outerRadius: 61 + donut: true + innerRadius: 44 + extra_form_data: {} + dashboards: + - 10 +query_context: '{"datasource":{"id":13,"type":"table"},"force":false,"queries":[{"filters":[{"col":"fda_approved_indications","op":"IS + NOT NULL"}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":["clinical_stage"],"metrics":["count"],"orderby":[["count",false]],"annotation_layers":[],"row_limit":10000,"series_limit":0,"group_others_when_limit_reached":false,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"post_processing":[{"operation":"contribution","options":{"columns":["count"],"rename_columns":["count__contribution"]}}]}],"form_data":{"datasource":"13__table","viz_type":"pie","slice_id":121,"groupby":["clinical_stage"],"metric":"count","adhoc_filters":[{"expressionType":"SIMPLE","subject":"fda_approved_indications","operator":"IS + NOT NULL","operatorId":"IS_NOT_NULL","clause":"WHERE","sqlExpression":null,"isExtra":false,"isNew":false,"datasourceWarning":false,"filterOptionName":"filter_lpyfep8j58_o4u3340k07"}],"row_limit":10000,"sort_by_metric":true,"color_scheme":"supersetColors","show_labels_threshold":5,"show_legend":false,"legendType":"scroll","legendOrientation":"top","label_type":"key","number_format":"SMART_NUMBER","date_format":"smart_date","show_labels":true,"labels_outside":true,"label_line":true,"outerRadius":61,"donut":true,"innerRadius":44,"extra_form_data":{},"dashboards":[10],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' +cache_timeout: null +uuid: 0f942970-9d2c-46c5-9eb3-f6cffa792d25 +version: 1.0.0 +dataset_uuid: 974b7a1c-22ea-49cb-9214-97b7dbd511e0 diff --git a/dashboards/COVID_Vaccine_Dashboard_10.yaml b/dashboards/COVID_Vaccine_Dashboard_10.yaml index d28d32a..019638e 100644 --- a/dashboards/COVID_Vaccine_Dashboard_10.yaml +++ b/dashboards/COVID_Vaccine_Dashboard_10.yaml @@ -1,9 +1,9 @@ dashboard_title: COVID Vaccine Dashboard description: null css: '' -slug: null -certified_by: '' -certification_details: '' +slug: covid +certified_by: null +certification_details: null published: true uuid: f4065089-110a-41fa-8dd7-9ce98a65e250 position: @@ -238,6 +238,16 @@ position: parents: - ROOT_ID type: TABS + CHART-AGZ0WY6N: + children: [] + id: CHART-AGZ0WY6N + meta: + chartId: 163 + height: 50 + sliceName: Vaccine Candidates per Phase + uuid: 0f942970-9d2c-46c5-9eb3-f6cffa792d25 + width: 4 + type: CHART metadata: timed_refresh_immune_slices: [] expanded_slices: {} @@ -376,76 +386,6 @@ metadata: Unknown: '#EFA1AA' Live attenuated virus: '#FDE380' COUNT(*): '#D1C6BC' - color_scheme_domain: - - '#1FA8C9' - - '#454E7C' - - '#5AC189' - - '#FF7F44' - - '#666666' - - '#E04355' - - '#FCC700' - - '#A868B7' - - '#3CCCCB' - - '#A38F79' - - '#8FD3E4' - - '#A1A6BD' - - '#ACE1C4' - - '#FEC0A1' - - '#B2B2B2' - - '#EFA1AA' - - '#FDE380' - - '#D3B3DA' - - '#9EE5E5' - - '#D1C6BC' - shared_label_colors: - - 0. Pre-clinical - - 1. Phase I - - 2. Phase II or Combined I/II - - 3. Phase III - - 4. Authorized - - - - count - map_label_colors: - count: '#1FA8C9' - : '#5AC189' - Turkey: '#454E7C' - Nigeria: '#FF7F44' - Switzerland: '#666666' - Bangladesh: '#E04355' - Indonesia: '#FCC700' - Italy: '#A868B7' - Russia: '#3CCCCB' - China: '#A38F79' - Sweden: '#8FD3E4' - Netherlands: '#A1A6BD' - Romania: '#ACE1C4' - Brazil: '#FEC0A1' - Chinese Taipei: '#B2B2B2' - Australia: '#EFA1AA' - Germany: '#FDE380' - Canada: '#D3B3DA' - Finland: '#9EE5E5' - South Korea: '#D1C6BC' - Argentina: '#9EE5E5' - Spain: '#D1C6BC' - Cuba: '#454E7C' - Slovenia: '#5AC189' - Egypt: '#FF7F44' - India: '#666666' - Iran: '#E04355' - Belgium: '#FCC700' - Chile: '#A868B7' - France: '#3CCCCB' - Vietnam: '#A38F79' - Slovakia: '#8FD3E4' - Israel: '#A1A6BD' - Peru: '#ACE1C4' - Kazakhstan: '#FEC0A1' - Japan: '#B2B2B2' - Great Britain: '#EFA1AA' - Denmark: '#FDE380' - Thailand: '#D3B3DA' - United States: '#D3B3DA' chart_configuration: '115': id: 115 @@ -522,5 +462,8 @@ metadata: - 120 - 121 cross_filters_enabled: true + shared_label_colors: [] + map_label_colors: {} + color_scheme_domain: [] theme_uuid: null version: 1.0.0 diff --git a/metadata.yaml b/metadata.yaml index 6f10b97..1118dae 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -1,3 +1,3 @@ version: 1.0.0 type: Dashboard -timestamp: '2026-01-25T17:20:25.796982+00:00' +timestamp: '2026-03-17T11:55:52.856981+00:00'