@cdc/chart 4.23.1 → 4.23.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/cdcchart.js +56289 -702
  2. package/examples/Barchart_with_negative.json +34 -0
  3. package/examples/area-chart.json +187 -0
  4. package/examples/big-small-test-bar.json +328 -0
  5. package/examples/big-small-test-line.json +328 -0
  6. package/examples/big-small-test-negative.json +328 -0
  7. package/examples/box-plot.json +1 -2
  8. package/examples/dynamic-legends.json +1 -1
  9. package/examples/example-bar-chart-nonnumeric.json +36 -0
  10. package/examples/example-bar-chart.json +36 -0
  11. package/examples/example-combo-bar-nonnumeric.json +105 -0
  12. package/examples/example-sparkline.json +76 -0
  13. package/examples/gallery/bar-chart-horizontal/horizontal-bar-chart.json +31 -172
  14. package/examples/gallery/bar-chart-vertical/vertical-bar-chart-categorical.json +1 -1
  15. package/examples/gallery/bar-chart-vertical/vertical-bar-chart-confidence.json +1 -0
  16. package/examples/gallery/bar-chart-vertical/vertical-bar-chart-with-confidence.json +96 -14
  17. package/examples/gallery/bar-chart-vertical/vertical-bar-chart.json +2 -2
  18. package/examples/gallery/line/line.json +1 -0
  19. package/examples/gallery/paired-bar/paired-bar-chart.json +65 -13
  20. package/examples/horizontal-chart-max-increase.json +38 -0
  21. package/examples/line-chart-max-increase.json +32 -0
  22. package/examples/line-chart-nonnumeric.json +32 -0
  23. package/examples/line-chart.json +21 -63
  24. package/examples/newdata.json +1 -1
  25. package/examples/planet-combo-example-config.json +143 -20
  26. package/examples/planet-deviation-config.json +168 -0
  27. package/examples/planet-deviation-data.json +38 -0
  28. package/examples/planet-example-config.json +139 -20
  29. package/examples/planet-example-data-max-increase.json +56 -0
  30. package/examples/planet-example-data-nonnumeric.json +56 -0
  31. package/examples/planet-example-data.json +9 -9
  32. package/examples/planet-pie-example-config-nonnumeric.json +30 -0
  33. package/examples/scatterplot-continuous.csv +17 -0
  34. package/examples/scatterplot.json +136 -0
  35. package/examples/sparkline-chart-nonnumeric.json +76 -0
  36. package/examples/stacked-vertical-bar-example-negative.json +154 -0
  37. package/examples/stacked-vertical-bar-example-nonnumerics.json +154 -0
  38. package/index.html +91 -0
  39. package/package.json +33 -24
  40. package/src/{CdcChart.tsx → CdcChart.jsx} +196 -124
  41. package/src/components/AreaChart.jsx +198 -0
  42. package/src/components/{BarChart.tsx → BarChart.jsx} +154 -122
  43. package/src/components/BoxPlot.jsx +101 -0
  44. package/src/components/{DataTable.tsx → DataTable.jsx} +109 -28
  45. package/src/components/DeviationBar.jsx +191 -0
  46. package/src/components/{EditorPanel.js → EditorPanel.jsx} +676 -157
  47. package/src/components/{Filters.js → Filters.jsx} +6 -11
  48. package/src/components/Legend.jsx +316 -0
  49. package/src/components/{LineChart.tsx → LineChart.jsx} +22 -26
  50. package/src/components/{LinearChart.tsx → LinearChart.jsx} +214 -91
  51. package/src/components/{PairedBarChart.tsx → PairedBarChart.jsx} +44 -78
  52. package/src/components/{PieChart.tsx → PieChart.jsx} +26 -44
  53. package/src/components/ScatterPlot.jsx +51 -0
  54. package/src/components/SparkLine.jsx +218 -0
  55. package/src/components/{useIntersectionObserver.tsx → useIntersectionObserver.jsx} +2 -2
  56. package/src/data/initial-state.js +51 -5
  57. package/src/hooks/useColorPalette.js +68 -0
  58. package/src/hooks/{useReduceData.ts → useReduceData.js} +26 -16
  59. package/src/hooks/useRightAxis.js +3 -1
  60. package/src/index.jsx +16 -0
  61. package/src/scss/DataTable.scss +22 -0
  62. package/src/scss/editor-panel.scss +5 -0
  63. package/src/scss/main.scss +30 -10
  64. package/src/test/CdcChart.test.jsx +6 -0
  65. package/vite.config.js +4 -0
  66. package/dist/495.js +0 -3
  67. package/dist/703.js +0 -1
  68. package/src/components/BoxPlot.js +0 -92
  69. package/src/components/Legend.js +0 -291
  70. package/src/components/SparkLine.js +0 -185
  71. package/src/hooks/useColorPalette.ts +0 -76
  72. package/src/index.html +0 -67
  73. package/src/index.tsx +0 -18
  74. /package/src/{context.tsx → ConfigContext.jsx} +0 -0
@@ -1,36 +1,159 @@
1
1
  {
2
+ "type": "chart",
2
3
  "title": "Planet Radius (Combo Example)",
3
- "dataUrl": "/examples/planet-example-data.json",
4
+ "theme": "theme-blue",
4
5
  "animate": true,
5
- "animateReplay": true,
6
- "visualizationType": "Combo",
7
- "series": [
8
- { "dataKey": "Radius", "type": "Line" },
9
- { "dataKey": "Diameter", "type": "Bar" }
10
- ],
11
- "dataFormat": {
12
- "roundTo": 1,
13
- "commas": false,
14
- "prefix": "",
15
- "suffix": "km"
16
- },
6
+ "fontSize": "medium",
7
+ "lineDatapointStyle": "hover",
8
+ "barHasBorder": "false",
9
+ "isLollipopChart": false,
10
+ "lollipopShape": "circle",
11
+ "lollipopColorStyle": "two-tone",
12
+ "visualizationSubType": "regular",
13
+ "barStyle": "",
14
+ "roundingStyle": "standard",
15
+ "tipRounding": "top",
17
16
  "padding": {
18
17
  "left": 0,
19
18
  "right": 0
20
19
  },
21
20
  "yAxis": {
21
+ "hideAxis": false,
22
+ "displayNumbersOnBar": false,
23
+ "hideLabel": false,
24
+ "hideTicks": false,
25
+ "size": 50,
26
+ "gridLines": false,
27
+ "min": "",
28
+ "max": "",
29
+ "labelColor": "#333",
30
+ "tickLabelColor": "#333",
31
+ "tickColor": "#333",
32
+ "rightHideAxis": false,
33
+ "rightAxisSize": 50,
34
+ "rightLabel": "",
35
+ "rightLabelOffsetSize": 0,
36
+ "rightAxisLabelColor": "#333",
37
+ "rightAxisTickLabelColor": "#333",
38
+ "rightAxisTickColor": "#333",
39
+ "numTicks": "",
40
+ "axisPadding": 0,
41
+ "tickRotation": 0,
22
42
  "label": "Measurement (1000km)"
23
43
  },
44
+ "boxplot": {
45
+ "plots": [],
46
+ "borders": "true",
47
+ "firstQuartilePercentage": 25,
48
+ "thirdQuartilePercentage": 75,
49
+ "boxWidthPercentage": 40,
50
+ "plotOutlierValues": false,
51
+ "plotNonOutlierValues": true,
52
+ "legend": {
53
+ "showHowToReadText": false,
54
+ "howToReadText": ""
55
+ },
56
+ "labels": {
57
+ "q1": "Lower Quartile",
58
+ "q2": "q2",
59
+ "q3": "Upper Quartile",
60
+ "q4": "q4",
61
+ "minimum": "Minimum",
62
+ "maximum": "Maximum",
63
+ "mean": "Mean",
64
+ "median": "Median",
65
+ "sd": "Standard Deviation",
66
+ "iqr": "Interquartile Range",
67
+ "count": "Count",
68
+ "outliers": "Outliers",
69
+ "values": "Values"
70
+ }
71
+ },
72
+ "topAxis": {
73
+ "hasLine": true
74
+ },
75
+ "isLegendValue": false,
76
+ "barThickness": 0.35,
77
+ "barHeight": 25,
78
+ "barSpace": 15,
79
+ "heights": {
80
+ "vertical": 300,
81
+ "horizontal": 750
82
+ },
24
83
  "xAxis": {
84
+ "type": "categorical",
85
+ "hideAxis": false,
86
+ "hideLabel": false,
87
+ "hideTicks": false,
88
+ "size": 75,
89
+ "tickRotation": 30,
90
+ "min": "",
91
+ "max": "",
92
+ "labelColor": "#333",
93
+ "tickLabelColor": "#333",
94
+ "tickColor": "#333",
95
+ "numTicks": "",
96
+ "labelOffset": 65,
97
+ "axisPadding": 0,
25
98
  "label": "Planet",
26
- "dataKey": "name",
27
- "tickRotation": 30
99
+ "dataKey": "name"
100
+ },
101
+ "table": {
102
+ "label": "Data Table",
103
+ "expanded": false,
104
+ "limitHeight": false,
105
+ "height": "",
106
+ "caption": "",
107
+ "showDownloadUrl": false,
108
+ "show": true
28
109
  },
110
+ "orientation": "vertical",
29
111
  "legend": {
112
+ "behavior": "isolate",
113
+ "position": "right",
114
+ "singleRow": false,
115
+ "colorCode": "",
116
+ "reverseLabelOrder": false,
117
+ "description": "",
118
+ "dynamicLegend": false,
119
+ "dynamicLegendDefaultText": "Show All",
120
+ "dynamicLegendItemLimit": 5,
121
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
122
+ "dynamicLegendChartMessage": "Select Options from the Legend",
30
123
  "hide": false
31
124
  },
32
- "table": {
33
- "label": "Data Table",
34
- "expanded": false
35
- }
36
- }
125
+ "exclusions": {
126
+ "active": false,
127
+ "keys": []
128
+ },
129
+ "palette": "qualitative-bold",
130
+ "isPaletteReversed": false,
131
+ "labels": false,
132
+ "dataFormat": {
133
+ "commas": false,
134
+ "prefix": "",
135
+ "suffix": "km",
136
+ "abbreviated": false,
137
+ "roundTo": 1
138
+ },
139
+ "confidenceKeys": {},
140
+ "visual": {
141
+ "border": true,
142
+ "accent": true,
143
+ "background": true
144
+ },
145
+ "dataUrl": "/examples/planet-example-data.json",
146
+ "animateReplay": true,
147
+ "visualizationType": "Combo",
148
+ "series": [
149
+ {
150
+ "dataKey": "Radius",
151
+ "type": "Line",
152
+ "axis": "Right"
153
+ },
154
+ {
155
+ "dataKey": "Diameter",
156
+ "type": "Bar"
157
+ }
158
+ ]
159
+ }
@@ -0,0 +1,168 @@
1
+ {
2
+ "type": "chart",
3
+ "title": "Planet Radius (Bar Example)",
4
+ "showTitle": true,
5
+ "theme": "theme-blue",
6
+ "animate": false,
7
+ "fontSize": "medium",
8
+ "lineDatapointStyle": "hover",
9
+ "barHasBorder": "false",
10
+ "isLollipopChart": false,
11
+ "lollipopShape": "circle",
12
+ "lollipopColorStyle": "two-tone",
13
+ "visualizationSubType": "regular",
14
+ "barStyle": "rounded",
15
+ "roundingStyle": "finger",
16
+ "tipRounding": "top",
17
+ "padding": {
18
+ "left": 5,
19
+ "right": 5
20
+ },
21
+ "yAxis": {
22
+ "hideAxis": false,
23
+ "displayNumbersOnBar": true,
24
+ "hideLabel": false,
25
+ "hideTicks": false,
26
+ "size": 50,
27
+ "gridLines": false,
28
+ "enablePadding": false,
29
+ "min": "",
30
+ "max": "",
31
+ "labelColor": "#333",
32
+ "tickLabelColor": "#333",
33
+ "tickColor": "#333",
34
+ "rightHideAxis": true,
35
+ "rightAxisSize": 50,
36
+ "rightLabel": "testing",
37
+ "rightLabelOffsetSize": 0,
38
+ "rightAxisLabelColor": "#333",
39
+ "rightAxisTickLabelColor": "#333",
40
+ "rightAxisTickColor": "#333",
41
+ "numTicks": "11",
42
+ "axisPadding": 0,
43
+ "tickRotation": 0,
44
+ "label": "Measurement (1000km)",
45
+ "rightSeries": "Diameter"
46
+ },
47
+ "boxplot": {
48
+ "plots": [],
49
+ "borders": "true",
50
+ "firstQuartilePercentage": 25,
51
+ "thirdQuartilePercentage": 75,
52
+ "boxWidthPercentage": 40,
53
+ "plotOutlierValues": false,
54
+ "plotNonOutlierValues": true,
55
+ "legend": {
56
+ "showHowToReadText": false,
57
+ "howToReadText": ""
58
+ },
59
+ "labels": {
60
+ "q1": "Lower Quartile",
61
+ "q2": "q2",
62
+ "q3": "Upper Quartile",
63
+ "q4": "q4",
64
+ "minimum": "Minimum",
65
+ "maximum": "Maximum",
66
+ "mean": "Mean",
67
+ "median": "Median",
68
+ "sd": "Standard Deviation",
69
+ "iqr": "Interquartile Range",
70
+ "count": "Count",
71
+ "outliers": "Outliers",
72
+ "values": "Values"
73
+ }
74
+ },
75
+ "topAxis": {
76
+ "hasLine": false
77
+ },
78
+ "isLegendValue": false,
79
+ "barThickness": 0.35,
80
+ "barHeight": 25,
81
+ "barSpace": 15,
82
+ "heights": {
83
+ "vertical": 300,
84
+ "horizontal": 360
85
+ },
86
+ "xAxis": {
87
+ "type": "categorical",
88
+ "showTargetLabel": true,
89
+ "targetLabel": "Target",
90
+ "hideAxis": false,
91
+ "hideLabel": false,
92
+ "hideTicks": false,
93
+ "size": 75,
94
+ "tickRotation": "0",
95
+ "min": "",
96
+ "max": "",
97
+ "labelColor": "#333",
98
+ "tickLabelColor": "#333",
99
+ "tickColor": "#333",
100
+ "numTicks": "",
101
+ "labelOffset": 65,
102
+ "axisPadding": 0,
103
+ "target": "55",
104
+ "label": "Planet",
105
+ "dataKey": "name"
106
+ },
107
+ "table": {
108
+ "label": "Data Table",
109
+ "expanded": false,
110
+ "limitHeight": false,
111
+ "height": "",
112
+ "caption": "",
113
+ "showDownloadUrl": false,
114
+ "show": true
115
+ },
116
+ "orientation": "horizontal",
117
+ "legend": {
118
+ "behavior": "isolate",
119
+ "singleRow": false,
120
+ "colorCode": "",
121
+ "reverseLabelOrder": false,
122
+ "description": "",
123
+ "dynamicLegend": false,
124
+ "dynamicLegendDefaultText": "Show All",
125
+ "dynamicLegendItemLimit": 5,
126
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
127
+ "dynamicLegendChartMessage": "Select Options from the Legend",
128
+ "position": "right",
129
+ "hide": false
130
+ },
131
+ "exclusions": {
132
+ "active": false,
133
+ "keys": []
134
+ },
135
+ "palette": "qualitative-bold",
136
+ "isPaletteReversed": false,
137
+ "twoColor": {
138
+ "palette": "complementary-5reverse",
139
+ "isPaletteReversed": true
140
+ },
141
+ "labels": false,
142
+ "dataFormat": {
143
+ "commas": false,
144
+ "prefix": "",
145
+ "suffix": "km",
146
+ "abbreviated": false,
147
+ "bottomSuffix": "",
148
+ "bottomPrefix": "",
149
+ "bottomAbbreviated": false,
150
+ "roundTo": 1
151
+ },
152
+ "confidenceKeys": {},
153
+ "visual": {
154
+ "border": true,
155
+ "accent": true,
156
+ "background": true
157
+ },
158
+ "dataUrl": "/examples/planet-deviation-data.json",
159
+ "visualizationType": "Deviation Bar",
160
+ "series": [
161
+ {
162
+ "dataKey": "Radius",
163
+ "type": "Deviation Bar",
164
+ "axis": "Left"
165
+ }
166
+ ],
167
+ "dataCutoff": "0.5"
168
+ }
@@ -0,0 +1,38 @@
1
+ [
2
+ {
3
+ "name": "Jupiter",
4
+ "Radius": "10000"
5
+ },
6
+ {
7
+ "name": "Saturn",
8
+ "Radius": "90000"
9
+ },
10
+ {
11
+ "name": "Uranus",
12
+ "Radius": "-80000"
13
+ },
14
+ {
15
+ "name": "Neptune",
16
+ "Radius": "7000"
17
+ },
18
+ {
19
+ "name": "Earth",
20
+ "Radius": "60000"
21
+ },
22
+ {
23
+ "name": "Venus",
24
+ "Radius": "50000"
25
+ },
26
+ {
27
+ "name": "Mars",
28
+ "Radius": "40000"
29
+ },
30
+ {
31
+ "name": "Mercury",
32
+ "Radius": "30000"
33
+ },
34
+ {
35
+ "name": "Pluto",
36
+ "Radius": "20000"
37
+ }
38
+ ]
@@ -1,37 +1,156 @@
1
1
  {
2
+ "type": "chart",
2
3
  "title": "Planet Radius (Bar Example)",
3
- "dataUrl": "/examples/planet-example-data.json",
4
- "visualizationType": "Bar",
5
- "visualizationSubType": "regular",
6
- "series": [{ "dataKey": "Radius" }],
4
+ "theme": "theme-blue",
5
+ "animate": false,
7
6
  "fontSize": "medium",
8
- "dataCutoff": "0.5",
9
- "orientation": "vertical",
10
- "dataFormat": {
11
- "roundTo": 1,
12
- "commas": false,
13
- "prefix": "",
14
- "suffix": "km"
15
- },
7
+ "lineDatapointStyle": "hover",
8
+ "barHasBorder": "false",
9
+ "isLollipopChart": false,
10
+ "lollipopShape": "circle",
11
+ "lollipopColorStyle": "two-tone",
12
+ "visualizationSubType": "regular",
13
+ "barStyle": "",
14
+ "roundingStyle": "standard",
15
+ "tipRounding": "top",
16
16
  "padding": {
17
17
  "left": 5,
18
18
  "right": 5
19
19
  },
20
20
  "yAxis": {
21
+ "hideAxis": false,
22
+ "displayNumbersOnBar": false,
23
+ "hideLabel": false,
24
+ "hideTicks": false,
25
+ "size": 50,
26
+ "gridLines": false,
27
+ "min": "",
28
+ "max": "",
29
+ "labelColor": "#333",
30
+ "tickLabelColor": "#333",
31
+ "tickColor": "#333",
32
+ "rightHideAxis": true,
33
+ "rightAxisSize": 50,
34
+ "rightLabel": "testing",
35
+ "rightLabelOffsetSize": 0,
36
+ "rightAxisLabelColor": "#333",
37
+ "rightAxisTickLabelColor": "#333",
38
+ "rightAxisTickColor": "#333",
39
+ "numTicks": "11",
40
+ "axisPadding": 0,
41
+ "tickRotation": 0,
21
42
  "label": "Measurement (1000km)",
22
- "rightSeries": "Diameter",
23
- "rightLabel": "testing"
43
+ "rightSeries": "Diameter"
44
+ },
45
+ "boxplot": {
46
+ "plots": [],
47
+ "borders": "true",
48
+ "firstQuartilePercentage": 25,
49
+ "thirdQuartilePercentage": 75,
50
+ "boxWidthPercentage": 40,
51
+ "plotOutlierValues": false,
52
+ "plotNonOutlierValues": true,
53
+ "legend": {
54
+ "showHowToReadText": false,
55
+ "howToReadText": ""
56
+ },
57
+ "labels": {
58
+ "q1": "Lower Quartile",
59
+ "q2": "q2",
60
+ "q3": "Upper Quartile",
61
+ "q4": "q4",
62
+ "minimum": "Minimum",
63
+ "maximum": "Maximum",
64
+ "mean": "Mean",
65
+ "median": "Median",
66
+ "sd": "Standard Deviation",
67
+ "iqr": "Interquartile Range",
68
+ "count": "Count",
69
+ "outliers": "Outliers",
70
+ "values": "Values"
71
+ }
72
+ },
73
+ "topAxis": {
74
+ "hasLine": false
75
+ },
76
+ "isLegendValue": false,
77
+ "barThickness": 0.35,
78
+ "barHeight": 25,
79
+ "barSpace": 15,
80
+ "heights": {
81
+ "vertical": 300,
82
+ "horizontal": 405
24
83
  },
25
84
  "xAxis": {
85
+ "type": "categorical",
86
+ "hideAxis": false,
87
+ "hideLabel": false,
88
+ "hideTicks": false,
89
+ "size": 75,
90
+ "tickRotation": "0",
91
+ "min": "",
92
+ "max": "",
93
+ "labelColor": "#333",
94
+ "tickLabelColor": "#333",
95
+ "tickColor": "#333",
96
+ "numTicks": "",
97
+ "labelOffset": 65,
98
+ "axisPadding": 0,
26
99
  "label": "Planet",
27
- "dataKey": "name",
28
- "tickRotation": 30
100
+ "dataKey": "name"
101
+ },
102
+ "table": {
103
+ "label": "Data Table",
104
+ "expanded": false,
105
+ "limitHeight": false,
106
+ "height": "",
107
+ "caption": "",
108
+ "showDownloadUrl": false,
109
+ "show": true
29
110
  },
111
+ "orientation": "horizontal",
30
112
  "legend": {
113
+ "behavior": "isolate",
114
+ "position": "right",
115
+ "singleRow": false,
116
+ "colorCode": "",
117
+ "reverseLabelOrder": false,
118
+ "description": "",
119
+ "dynamicLegend": false,
120
+ "dynamicLegendDefaultText": "Show All",
121
+ "dynamicLegendItemLimit": 5,
122
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
123
+ "dynamicLegendChartMessage": "Select Options from the Legend",
31
124
  "hide": false
32
125
  },
33
- "table": {
34
- "label": "Data Table",
35
- "expanded": false
36
- }
126
+ "exclusions": {
127
+ "active": false,
128
+ "keys": []
129
+ },
130
+ "palette": "qualitative-bold",
131
+ "isPaletteReversed": false,
132
+ "labels": false,
133
+ "dataFormat": {
134
+ "commas": false,
135
+ "prefix": "",
136
+ "suffix": "km",
137
+ "abbreviated": false,
138
+ "roundTo": 1
139
+ },
140
+ "confidenceKeys": {},
141
+ "visual": {
142
+ "border": true,
143
+ "accent": true,
144
+ "background": true
145
+ },
146
+ "dataUrl": "/examples/planet-example-data.json",
147
+ "visualizationType": "Deviation Bar",
148
+ "series": [
149
+ {
150
+ "dataKey": "Radius",
151
+ "type": "Deviation Bar",
152
+ "axis": "Left"
153
+ }
154
+ ],
155
+ "dataCutoff": "0.5"
37
156
  }
@@ -0,0 +1,56 @@
1
+ [
2
+ {
3
+ "name": "Jupiter",
4
+ "Radius": "10.97",
5
+ "Diameter": "25.1",
6
+ "distance": "0"
7
+ },
8
+ {
9
+ "name": "Saturn",
10
+ "Radius": "9.14",
11
+ "Diameter": "18",
12
+ "distance": "0"
13
+ },
14
+ {
15
+ "name": "Uranus",
16
+ "Radius": "-4",
17
+ "Diameter": "-30",
18
+ "distance": "0"
19
+ },
20
+ {
21
+ "name": "Neptune",
22
+ "Radius": "3.86",
23
+ "Diameter": "7",
24
+ "distance": "0"
25
+ },
26
+ {
27
+ "name": "Earth",
28
+ "Radius": "1",
29
+ "Diameter": "2",
30
+ "distance": "0"
31
+ },
32
+ {
33
+ "name": "Venus",
34
+ "Radius": "0.950",
35
+ "Diameter": "2",
36
+ "distance": "0"
37
+ },
38
+ {
39
+ "name": "Mars",
40
+ "Radius": "0.532",
41
+ "Diameter": "1",
42
+ "distance": "0"
43
+ },
44
+ {
45
+ "name": "Mercury",
46
+ "Radius": "0.383",
47
+ "Diameter": "0.7",
48
+ "distance": "0"
49
+ },
50
+ {
51
+ "name": "Pluto",
52
+ "Radius": "0.181",
53
+ "Diameter": "0.3",
54
+ "distance": "0"
55
+ }
56
+ ]
@@ -0,0 +1,56 @@
1
+ [
2
+ {
3
+ "name": "Jupiter",
4
+ "Radius": "10.97",
5
+ "Diameter": "22",
6
+ "distance": "0"
7
+ },
8
+ {
9
+ "name": "Saturn",
10
+ "Radius": "9.14",
11
+ "Diameter": "NA",
12
+ "distance": "0"
13
+ },
14
+ {
15
+ "name": "Uranus",
16
+ "Radius": null,
17
+ "Diameter": "8",
18
+ "distance": "0"
19
+ },
20
+ {
21
+ "name": "Neptune",
22
+ "Radius": "1,123",
23
+ "Diameter": "7",
24
+ "distance": "0"
25
+ },
26
+ {
27
+ "name": "Earth",
28
+ "Radius": "1,345",
29
+ "Diameter": "2",
30
+ "distance": "0"
31
+ },
32
+ {
33
+ "name": "Venus",
34
+ "Radius": "0.950",
35
+ "Diameter": "2.",
36
+ "distance": "0"
37
+ },
38
+ {
39
+ "name": "Mars",
40
+ "Radius": "0.532",
41
+ "Diameter": "1",
42
+ "distance": "0"
43
+ },
44
+ {
45
+ "name": "Mercury",
46
+ "Radius": "0.383",
47
+ "Diameter": "0.7",
48
+ "distance": "0"
49
+ },
50
+ {
51
+ "name": "Pluto",
52
+ "Radius": "0.181",
53
+ "Diameter": "0.3",
54
+ "distance": "0"
55
+ }
56
+ ]