url(#rectClip)")
            // fill attrbute requires designers to assign colors for each province; 
            .attr("fill", function (d,i) {
                return province_color_themeriver[d["key"]]; });

            //clipedrect.transition().ease(d3.easeLinear).duration(totalduration).attr("width", innerWidth);    
        };

        const render_update = function(width){
            d3.select('.rect-clip').transition().ease(d3.easeLinear).duration(aduration).attr("width", width); 
        }

       