data visualization to the end user make sure to have crossfilter min jsd min jsand dc min js downloaded from their websites or from the manning website crossfilterd jsdc min jsall javascript is loaded here no surprises here the header contains all the css libraries you'll useso we'll load our javascript at the end of the html body using jquery onload handleryour application will be loaded when the rest of the page is ready you start off with two table placeholdersone to show what your input data looks likeand the other one will be used with crossfilter to show filtered tableseveral bootstrap css classes were usedsuch as "well""container"the bootstrap grid system with "rowand "col-xx-xx"and so on they make the whole thing look nicer but they aren' mandatory more information on the bootstrap css classes can be found on their website at now that you have your html set upit' time to show your data onscreen for thisturn your attention to the application js file you created firstwe wrap the entire code "to bein jquery onload handler $(function(//all future code will end up in this wrapper }now we're certain our application will be loaded only when all else is ready this is important because we'll use jquery selectors to manipulate the html it' time to load in data csv('medicines csv',function(datamain(data})you don' have rest service ready and waiting for youso for the example you'll draw the data from csv file this file is available for download on manning' website js offers an easy function for that after loading in the data you hand it over to your main application function in the csv callback function apart from the main function you have createtable functionwhich you will use to you guessed it create your tablesas shown in the following listing