creating an interactive dashboard with dc js lightsensitivestockpiechart width(null/null means size to fit container height( dimension(lightsendimradius( group(summatedstocklightwe hadn' introduced the light dimension yetso you need to register it onto your crossfilter instance first you can also add reset buttonwhich causes all filters to resetas shown in the following listing listing the dashboard reset filters button when an element with class btnsuccess is clicked (our reset button)resetfilters(is called resetfilters function()stockovertimelinechart filterall()lightsensitivestockpiechart filterall()averagestockpermedicinerowchart filterall()dc redrawall()resetfilters(function will reset our dc js data and redraw graphs $(btn-success'click(resetfilters)the filterall(method removes all filters on specific dimensiondc redrawall(then manually triggers all dc charts to redraw the final result is an interactive dashboard (figure )ready to be used by our pharmacist to gain insight into her stock' behavior figure dc js fully interactive dashboard on medicines and their stock within the hospital pharmacy