|
1 | 1 | {
|
2 | 2 | "data": [
|
3 | 3 | {
|
4 |
| - "type": "sunburst", |
5 |
| - "textinfo": "label", |
| 4 | + "type": "icicle", |
| 5 | + "textinfo": "none", |
6 | 6 | "labels": ["Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"],
|
7 | 7 | "parents": ["Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve" ],
|
8 |
| - "domain": {"x": [0, 0.5]}, |
| 8 | + "level": "Enoch", |
| 9 | + "domain": {"x": [0, 0.3]}, |
9 | 10 | "marker": {
|
10 |
| - "colors": [ "orange", "steelblue", "steelblue", "steelblue", "green", "red", "red", "purple"] |
| 11 | + "colors": [ "orange", "steelblue", "lightgrey", "lightgrey", "green", "red", "lightgrey", "purple"], |
| 12 | + "pattern": { |
| 13 | + "shape": ".", |
| 14 | + "size": 4 |
| 15 | + }, |
| 16 | + "line": { |
| 17 | + "color": "lightgrey" |
| 18 | + } |
11 | 19 | }
|
12 | 20 | },
|
13 | 21 | {
|
14 | 22 | "type": "sunburst",
|
15 | 23 | "textinfo": "none",
|
16 | 24 | "labels": ["Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"],
|
17 | 25 | "parents": ["Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve" ],
|
18 |
| - "domain": {"x": [0.5, 1]}, |
| 26 | + "domain": {"x": [0.35, 0.65]}, |
| 27 | + "marker": { |
| 28 | + "colors": [ "orange", "steelblue", "lightgrey", "lightgrey", "green", "red", "lightgrey", "purple"], |
| 29 | + "pattern": { |
| 30 | + "shape": ".", |
| 31 | + "size": 4 |
| 32 | + }, |
| 33 | + "line": { |
| 34 | + "color": "lightgrey" |
| 35 | + } |
| 36 | + } |
| 37 | + }, |
| 38 | + { |
| 39 | + "type": "treemap", |
| 40 | + "textinfo": "none", |
| 41 | + "labels": ["Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"], |
| 42 | + "parents": ["Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve" ], |
| 43 | + "domain": {"x": [0.7, 1]}, |
19 | 44 | "marker": {
|
20 | 45 | "colors": [ "orange", "steelblue", "lightgrey", "lightgrey", "green", "red", "lightgrey", "purple"],
|
21 | 46 | "pattern": {
|
|
29 | 54 | }
|
30 | 55 | ],
|
31 | 56 | "layout": {
|
32 |
| - "title": { "text": "sunburst with pattern"}, |
| 57 | + "title": { "text": "icicle, sunburst & treemap with pattern"}, |
33 | 58 | "width": 800,
|
34 | 59 | "height": 400
|
35 | 60 | }
|
|
0 commit comments