Chapter 1. D3 and Rails

Your Rails app generates a lot of data and probably also contains a lot of data. I want to be able to identify and analyze that data, and be able to quickly see what it says—and I want to show you to how to do that too.

Before we jump into all of that, let’s first take a step back and look at the various moving parts in a Rails app. These are the tools that you have in your toolbox to wrestle data into meaningful information. There are three key aspects to focus on, so maybe it’s more of a three-ring circus, at least at times.

Your Toolbox—A Three-Ring Circus

The three key aspects involve these technologies:

• A database to store and query data (PostgreSQL)

• An application server to broker requests (Rails)

• A JavaScript ...

Get Data Visualization Toolkit: Using JavaScript, Rails™, and Postgres to Present Data and Geospatial Information now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.