|
59 | 59 | "Uniform", |
60 | 60 | "Uniform" |
61 | 61 | ], |
62 | | - "level": "Juliet", |
| 62 | + "branchvalues": "total", |
| 63 | + "values": [ |
| 64 | + 40000, |
| 65 | + 2000, |
| 66 | + 38000, |
| 67 | + 1500, |
| 68 | + 2500, |
| 69 | + 34000, |
| 70 | + 1000, |
| 71 | + 2000, |
| 72 | + 3000, |
| 73 | + 28000, |
| 74 | + 1250, |
| 75 | + 1750, |
| 76 | + 2250, |
| 77 | + 2750, |
| 78 | + 20000, |
| 79 | + 1000, |
| 80 | + 1500, |
| 81 | + 2000, |
| 82 | + 2500, |
| 83 | + 3000, |
| 84 | + 10000, |
| 85 | + 1000, |
| 86 | + 1500, |
| 87 | + 2000, |
| 88 | + 2500, |
| 89 | + 3000 |
| 90 | + ], |
| 91 | + "sort": false, |
| 92 | + "level": "Oscar", |
63 | 93 | "count": "leaves+branches", |
64 | 94 | "textinfo": "label", |
65 | 95 | "insidetextorientation": "horizontal", |
|
69 | 99 | }, |
70 | 100 | "colorscale": [ |
71 | 101 | [0, "rgba(0,0,255,1)"], |
72 | | - [0.5, "rgba(0,255,0,0.0)"], |
| 102 | + [0.5, "rgba(0,255,0,0.25)"], |
73 | 103 | [1, "rgba(255,0,0,1)"] |
74 | 104 | ], |
75 | 105 | "showscale": false |
|
87 | 117 | "show": true |
88 | 118 | } |
89 | 119 | }, |
90 | | - "x": [0, 0.25, 0.5, 0.75, 1], |
91 | | - "y": [0, 0.25, 0.5, 0.75, 1], |
| 120 | + "x": [0, 2000, 4000, 6000, 8000], |
| 121 | + "y": [0, 2000, 4000, 6000, 8000], |
92 | 122 | "z": [ |
93 | 123 | [0, 0, 0, 0, 0], |
94 | | - [0, 0.1, 0.8, 0.7, 0], |
95 | | - [0, 0.2, 0, 0.6, 0], |
96 | | - [0, 0.3, 0.4, 0.5, 0], |
| 124 | + [0, 500, 4000, 3500, 0], |
| 125 | + [0, 1000, 0, 3000, 0], |
| 126 | + [0, 1500, 2000, 2500, 0], |
97 | 127 | [0, 0, 0, 0, 0] |
98 | 128 | ] |
99 | 129 | }, |
|
105 | 135 | "show": true |
106 | 136 | } |
107 | 137 | }, |
108 | | - "x": [0, 0.25, 0.5, 0.75, 1], |
109 | | - "y": [0, 0.25, 0.5, 0.75, 1], |
| 138 | + "x": [0, 2000, 4000, 6000, 8000], |
| 139 | + "y": [0, 2000, 4000, 6000, 8000], |
110 | 140 | "z": [ |
111 | 141 | [0, 0, 0, 0, 0], |
112 | | - [0, 0.1, 0.8, 0.7, 0], |
113 | | - [0, 0.2, 0, 0.6, 0], |
114 | | - [0, 0.3, 0.4, 0.5, 0], |
| 142 | + [0, 500, 4000, 3500, 0], |
| 143 | + [0, 1000, 0, 3000, 0], |
| 144 | + [0, 1500, 2000, 2500, 0], |
115 | 145 | [0, 0, 0, 0, 0] |
116 | 146 | ] |
117 | 147 | } |
|
120 | 150 | "width": 1000, |
121 | 151 | "height": 350, |
122 | 152 | "title": { |
123 | | - "text": "treemap, heatmap & surface plots with transparent colorscale" |
| 153 | + "text": "treemap, heatmap & surface plots with transparent colorscale and engineering formatting" |
124 | 154 | }, |
125 | 155 | "coloraxis": { |
126 | 156 | "colorscale": [ |
127 | 157 | [0, "rgba(0,0,255,1)"], |
128 | | - [0.5, "rgba(0,255,0,0.0)"], |
| 158 | + [0.5, "rgba(0,255,0,0.25)"], |
129 | 159 | [1, "rgba(255,0,0,1)"] |
130 | | - ] |
| 160 | + ], |
| 161 | + "colorbar": { |
| 162 | + "minexponent": 0 |
| 163 | + } |
131 | 164 | }, |
132 | 165 | "margin": { |
133 | 166 | "t": 75, |
|
136 | 169 | "b": 25 |
137 | 170 | }, |
138 | 171 | "xaxis": { |
139 | | - "domain": [0.35, 0.65] |
| 172 | + "domain": [0.35, 0.65], |
| 173 | + "minexponent": 0, |
| 174 | + "dtick": 2000 |
| 175 | + }, |
| 176 | + "yaxis": { |
| 177 | + "minexponent": 0, |
| 178 | + "dtick": 2000 |
140 | 179 | }, |
141 | 180 | "scene": { |
| 181 | + "xaxis": { |
| 182 | + "minexponent": 0, |
| 183 | + "dtick": 2000 |
| 184 | + }, |
| 185 | + "yaxis": { |
| 186 | + "minexponent": 0, |
| 187 | + "dtick": 2000 |
| 188 | + }, |
| 189 | + "zaxis": { |
| 190 | + "minexponent": 0, |
| 191 | + "dtick": 2000 |
| 192 | + }, |
142 | 193 | "domain": { |
143 | 194 | "x": [0.7, 1] |
144 | 195 | }, |
145 | 196 | "camera": { |
146 | 197 | "eye": { |
147 | 198 | "x": 0, |
148 | 199 | "y": 0, |
149 | | - "z": 2 |
| 200 | + "z": 2.1 |
150 | 201 | }, |
151 | 202 | "up": { |
152 | 203 | "x": 0, |
|
0 commit comments