To show the distribution of our data, generally we'll use a histogram. In this recipe, we'll use one to display the distribution of lengths in the abalone dataset.
We'll use the same dependencies and plugins in our project.clj
file as we did in the Creating scatter plots with NVD3 recipe. We'll also use the framework we've created in the recipes in this chapter up to the Creating scatter plots with NVD3 recipe.
For the data, we'll use the abalone dataset from the Creating histograms with Incanter recipe in Chapter 10, Graphing in Incanter. I've transformed the data to JSON, and you can download it from http://www.ericrochester.com/clj-data-analysis/data/abalone.json. Save it to the resources/data/
directory in your web application.