Skip to content

Commit

Permalink
Add more test schemas (#106)
Browse files Browse the repository at this point in the history
Co-authored-by: Atishay Jain (from Dev Box) <[email protected]>
  • Loading branch information
AtishayMsft and atisjai authored Dec 29, 2024
1 parent 6cb1533 commit bfe9f21
Show file tree
Hide file tree
Showing 111 changed files with 1,388 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
41 changes: 41 additions & 0 deletions apps/plotly_examples/src/data/data_082_Government.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"data": [
{
"type": "pie",
"labels": [
"Healthcare",
"Education",
"Defense",
"Infrastructure",
"Welfare",
"Administration"
],
"values": [
30,
20,
15,
10,
15,
10
],
"textinfo": "label+percent",
"hoverinfo": "label+value",
"hole": 0.4
}
],
"layout": {
"title": "Government Budget Allocation by Department",
"annotations": [
{
"font": {
"size": 20
},
"showarrow": false,
"text": "Budget (in %)",
"x": 0.5,
"y": 0.5
}
]
},
"id": 82
}
53 changes: 53 additions & 0 deletions apps/plotly_examples/src/data/data_083_Government.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"data": [
{
"type": "bar",
"x": [
"2020",
"2021",
"2022",
"2023"
],
"y": [
10,
15,
13,
20
],
"name": "Education",
"marker": {
"color": "rgb(55, 83, 109)"
}
},
{
"type": "bar",
"x": [
"2020",
"2021",
"2022",
"2023"
],
"y": [
20,
18,
25,
30
],
"name": "Healthcare",
"marker": {
"color": "rgb(26, 118, 255)"
}
}
],
"layout": {
"title": "Year-over-Year Budget Change",
"xaxis": {
"title": "Year"
},
"yaxis": {
"title": "Budget Allocation (in Billion $)"
},
"barmode": "group"
},
"id": 83
}
54 changes: 54 additions & 0 deletions apps/plotly_examples/src/data/data_084_Government.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"data": [
{
"type": "scatter",
"mode": "lines+markers",
"x": [
"2020",
"2021",
"2022",
"2023"
],
"y": [
75,
73,
78,
82
],
"name": "Citizen Satisfaction for Healthcare",
"line": {
"color": "rgb(55, 128, 191)"
}
},
{
"type": "scatter",
"mode": "lines+markers",
"x": [
"2020",
"2021",
"2022",
"2023"
],
"y": [
68,
70,
74,
76
],
"name": "Citizen Satisfaction for Education",
"line": {
"color": "rgb(235, 47, 6)"
}
}
],
"layout": {
"title": "Citizen Satisfaction Over Time",
"xaxis": {
"title": "Year"
},
"yaxis": {
"title": "Satisfaction Rate (%)"
}
},
"id": 84
}
104 changes: 104 additions & 0 deletions apps/plotly_examples/src/data/data_085_Healthcare.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"data": [
{
"type": "line",
"x": [
"2020 Q1",
"2020 Q2",
"2020 Q3",
"2020 Q4",
"2021 Q1",
"2021 Q2",
"2021 Q3",
"2021 Q4",
"2022 Q1",
"2022 Q2"
],
"y": [
75,
78,
80,
82,
85,
88,
90,
92,
95,
97
],
"name": "Recovery Rate",
"mode": "lines+markers"
},
{
"type": "line",
"x": [
"2020 Q1",
"2020 Q2",
"2020 Q3",
"2020 Q4",
"2021 Q1",
"2021 Q2",
"2021 Q3",
"2021 Q4",
"2022 Q1",
"2022 Q2"
],
"y": [
15,
14,
13,
12,
11,
10,
9,
8,
7,
6
],
"name": "Readmission Rate",
"mode": "lines+markers"
},
{
"type": "line",
"x": [
"2020 Q1",
"2020 Q2",
"2020 Q3",
"2020 Q4",
"2021 Q1",
"2021 Q2",
"2021 Q3",
"2021 Q4",
"2022 Q1",
"2022 Q2"
],
"y": [
10,
8,
7,
6,
4,
2,
2,
1,
1,
1
],
"name": "Mortality Rate",
"mode": "lines+markers"
}
],
"layout": {
"title": "Patient Outcome Trends by Disease Over Time",
"xaxis": {
"title": "Quarter"
},
"yaxis": {
"title": "Percentage (%)"
},
"legend": {
"title": "Metrics"
}
},
"id": 85
}
69 changes: 69 additions & 0 deletions apps/plotly_examples/src/data/data_086_Healthcare.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"data": [
{
"type": "bar",
"x": [
"Disease A",
"Disease B",
"Disease C"
],
"y": [
70,
60,
75
],
"name": "Recovery Rate",
"marker": {
"color": "green"
}
},
{
"type": "bar",
"x": [
"Disease A",
"Disease B",
"Disease C"
],
"y": [
20,
25,
15
],
"name": "Readmission Rate",
"marker": {
"color": "orange"
}
},
{
"type": "bar",
"x": [
"Disease A",
"Disease B",
"Disease C"
],
"y": [
10,
15,
10
],
"name": "Mortality Rate",
"marker": {
"color": "red"
}
}
],
"layout": {
"barmode": "group",
"title": "Patient Outcomes by Disease",
"xaxis": {
"title": "Disease"
},
"yaxis": {
"title": "Percentage (%)"
},
"legend": {
"title": "Metrics"
}
},
"id": 86
}
45 changes: 45 additions & 0 deletions apps/plotly_examples/src/data/data_087_Healthcare.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"data": [
{
"type": "scatter",
"x": [
"Treatment X1",
"Treatment X2",
"Treatment Y1",
"Treatment Y2"
],
"y": [
90,
85,
88,
82
],
"mode": "markers",
"marker": {
"size": [
15,
10,
12,
9
]
},
"text": [
"90% Recovery Rate",
"85% Recovery Rate",
"88% Recovery Rate",
"82% Recovery Rate"
],
"name": "Recovery Rate"
}
],
"layout": {
"title": "Effect of Treatment Method on Recovery",
"xaxis": {
"title": "Treatment Method"
},
"yaxis": {
"title": "Recovery Rate (%)"
}
},
"id": 87
}
Loading

0 comments on commit bfe9f21

Please sign in to comment.