QuerySketch is a prototype program for querying a database of stock price information using a sketching interface. Many users have a target graph in mind when they look for new investments--for instance, they may wish to diversify their portfolio by finding a stock that has historically moved in the opposite direction from their current holdings. This interface is designed to be a simple, easy and flexible method for formulating graph-centric queries.

QuerySketch was developed at SmartMoney.com by Martin Wattenberg. More details can be found in this CHI 2001 Short Talk (PDF), and you can also try an online demo

Here are some screenshots:

Ready to query: The user will draw on top of the graph to formulate a query.

After a query: The target is represented by the thick black line; matching companies are shown with thumbnail graphs

A partial graph as query