data visualization to the end user inputtable empty(append(createtable(sample,variablesintable,"the input table"))you start off by showing your data on the screenbut preferably not all of itonly the first five entries will doas shown in figure you have date variable in your data and you want to make sure crossfilter will recognize it as such later onso you first parse it and create new variable called day you show the originaldateto appear in the table for nowbut later on you'll use day for all your calculations figure input medicine table shown in browserfirst five lines this is what you end up withthe same thing you saw in excel before now that you know the basics are workingyou'll introduce crossfilter into the equation unleashing crossfilter to filter the medicine data set now let' go into crossfilter to use filtering and mapreduce henceforth you can put all the upcoming code after the code of section within the main(function the first thing you'll need to do is declare crossfilter instance and initiate it with your data crossfilterinstance crossfilter(medicinedata)from here you can get to work on this instance you can register dimensionswhich are the columns of your table currently crossfilter is limited to dimensions if you're handling data wider than dimensionsyou should consider narrowing it down before sending it to the browser let' create our first dimensionthe medicine name dimensionvar mednamedim crossfilterinstance dimension(function( {return medname;})