Database Reference
In-Depth Information
12
Creating Charts for
the Web
In this chapter, we will cover the following recipes:
F Serving data with Ring and Compojure
F Creating HTML with Hiccup
F Setting up to use ClojureScript
F Creating scatter plots with NVD3
F Creating bar charts with NVD3
F Creating histograms with NVD3
F Creating time series charts with D3
F Visualizing graphs with force-directed layouts
F Creating interactive visualizations with D3
Introduction
In the previous chapter, we explored how to create graphs in order to publish in print or online
by creating PNGs. Of course, the Internet can do a lot more than publish static images. Much
of the power of the Internet lies in the fact that it's interactive. Adding rich data visualizations
to the web's interactions makes a powerful environment in which you can explore and gain
insights into the questions you're researching. In this chapter, we'll explore how to create a full
web application using Clojure, including interactive graphs.
Search WWH ::




Custom Search