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 {
6464
6565 let tree = d3 . tree ( )
6666 // this assigns width of tree to be 2pi
67- . size ( [ 2 * Math . PI , radius / 1.4 ] )
67+ . size ( [ 2 * Math . PI , radius / 1.3 ] )
6868 . separation ( function ( a , b ) { return ( a . parent == b . parent ? 1 : 2 ) / a . depth } ) ;
6969
7070 let d3root = tree ( hierarchy ) ;
@@ -93,7 +93,7 @@ class Chart extends Component {
9393 } ) ;
9494
9595 node . append ( "circle" )
96- . attr ( "r" , 10 )
96+ . attr ( "r" , 12 )
9797
9898 //creating a d3.tip method where the html has a function that returns the data we passed into tip.show from line 120
9999 let tip = d3Tip ( )
Original file line number Diff line number Diff line change 2424/* this represents text for leaf nodes aka the ones with no children */
2525.node--leaf {
2626 fill : # 71e9e1 ;
27+ fill-opacity : 0.4 ;
2728}
2829
2930/* this represents those nodes that have children */
3940 fill : none;
4041 stroke : # 3853ea ;
4142 stroke-opacity : 0.4 ;
42- stroke-width : 3 px ;
43+ stroke-width : 5 px ;
4344}
4445
4546.d3-tip {
You can’t perform that action at this time.
0 commit comments