Chapter 4Integrating Existing Data

The lion's share of the data visualist's work involves rendering existing data. Data can be stored in many different formats—plain text, CSV, XML, JSON, and others—but as long as it is in a digital format, chances are there are JavaScript and other server-side routines to access the information for representation. Naturally, some circumstances, such as building a complex infographic, require that you incorporate data manually. However, wherever possible, it's a good idea to keep content (the data) separate from presentation (the charting) as demonstrated throughout this chapter. Not only does this methodology make it a breeze to make updates, but it also opens the door to enhanced accessibility and data transparency.

Reading Data from Standard Text Files

Data is often stored in a plain text file. To be clear, “plain” or “standard” text refers to files such as .txt files that contain no extraneous coding or meta information. This section examines techniques for reading ...

Get JavaScript and jQuery for Data Analysis and Visualization 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.