File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ class Chart extends Component {
64
64
65
65
let tree = d3 . tree ( )
66
66
// this assigns width of tree to be 2pi
67
- . size ( [ 2 * Math . PI , radius / 1.4 ] )
67
+ . size ( [ 2 * Math . PI , radius / 1.3 ] )
68
68
. separation ( function ( a , b ) { return ( a . parent == b . parent ? 1 : 2 ) / a . depth } ) ;
69
69
70
70
let d3root = tree ( hierarchy ) ;
@@ -93,7 +93,7 @@ class Chart extends Component {
93
93
} ) ;
94
94
95
95
node . append ( "circle" )
96
- . attr ( "r" , 10 )
96
+ . attr ( "r" , 12 )
97
97
98
98
//creating a d3.tip method where the html has a function that returns the data we passed into tip.show from line 120
99
99
let tip = d3Tip ( )
Original file line number Diff line number Diff line change 24
24
/* this represents text for leaf nodes aka the ones with no children */
25
25
.node--leaf {
26
26
fill : # 71e9e1 ;
27
+ fill-opacity : 0.4 ;
27
28
}
28
29
29
30
/* this represents those nodes that have children */
39
40
fill : none;
40
41
stroke : # 3853ea ;
41
42
stroke-opacity : 0.4 ;
42
- stroke-width : 3 px ;
43
+ stroke-width : 5 px ;
43
44
}
44
45
45
46
.d3-tip {
You can’t perform that action at this time.
0 commit comments