There are many ways to slice and dice data to better understand what it means. Software like Microsoft’s Excel offers a simple way to create charts and graphs, while more complex applications, such as IBM’s Many Eyes, provide more interesting ways to visualize more complex data. Specialized programming languages can do more by tweaking the design of visualizations. But these languages tend to be difficult for non-experts to use.
Now researchers at Stanford are offering a suite of tools called Protovis that streamline the process of building data visualizations. The tools still require knowledge of programming but are designed to be easier to implement for someone without programming experience, says Jeff Heer, a professor of computer science at Stanford who co-created the tools with Michael Bostock, a graduate student.
Instead of having to focus on how to structure code for the program, Protovis lets a user create simple building blocks, such as the colors and shapes needed for the visualization, then piece the blocks together to define the complete picture. “With Protovis, you think first and foremost in visual marks on a page,” Heer says. “It is our belief that this would make visualizations easier to learn and easier to modify.”
One example of the type of visualizations that are made easier with Protovis is called Job Voyager. It was created by Heer to display changing trends in employment in U.S. census data over the past century. Different types of jobs are shown in shaded areas in two different colors corresponding to male and female workers. Throughout most of the U.S. census data (from 1850 to 2000), farming was the most popular profession by far. Compared to other visualization tools, such as Prefuse or Flare, Heer says that Protovis allowed Job Voyager to be created in a fraction of the time and using a fifth of the amount of code.
Heer notes that modern-data visualizations are often designed for the Web and tend to be dynamic. In the case of Job Voyager, a user can, for instance, click on a filter to see only how women’s professions have changed over time. Or she can examine the ebb and flow of machinist jobs over the years.
Martin Wattenberg, who developed Many Eyes with his IBM colleague Fernanda Viegas, thinks that visualization is becoming an essential medium of expression, especially online. “It may be the photojournalism of the 21st century,” he says. Wattenberg adds that “a system like Protovis, which lets developers easily customize Web-based visualizations, has the potential to play an important role in the adoption of this technology.”
Protovis is currently in an alpha release but has already been picked up by the Mozilla Foundation, and it will appear in an upcoming version of its Thunderbird e-mail client as a way to visualize e-mail data, Heer says.
When designing an embedded system choosing which tools to use often comes down to building a custom solution or buying off-the-shelf tools.