File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ const svg3 = d3.select("#modelClassesChart")
2323 . append ( "g" )
2424 . attr ( "transform" , `translate(${ width / 2 } , ${ height / 2 } )` ) ;
2525
26- const svg4 = d3 . select ( "#macroPeChart " )
26+ const svg4 = d3 . select ( "#macroChart " )
2727 . append ( "svg" )
2828 . attr ( "width" , width )
2929 . attr ( "height" , height )
3030 . append ( "g" )
3131 . attr ( "transform" , `translate(${ width / 2 } , ${ height / 2 } )` ) ;
3232
33- const svg5 = d3 . select ( "#macroDtChart " )
33+ const svg5 = d3 . select ( "#dataChart " )
3434 . append ( "svg" )
3535 . attr ( "width" , width )
3636 . attr ( "height" , height )
@@ -97,7 +97,7 @@ function getCharts() {
9797
9898 // Join new data
9999 const path4 = svg4 . selectAll ( "path" )
100- . data ( pie ( macroPe ) ) ;
100+ . data ( pie ( macro ) ) ;
101101
102102 // Enter new arcs
103103 path4 . enter ( ) . append ( "path" )
@@ -111,7 +111,7 @@ function getCharts() {
111111
112112 // Join new data
113113 const path5 = svg5 . selectAll ( "path" )
114- . data ( pie ( macroDt ) ) ;
114+ . data ( pie ( data ) ) ;
115115
116116 // Enter new arcs
117117 path5 . enter ( ) . append ( "path" )
You can’t perform that action at this time.
0 commit comments