This paper presents an interactive analysis and visualization framework for behavior histories, called mPATH framework. In ubiquitous computing environment, it is possible to infer human activities through various sensors and accumulation of their data. Visualization of such human activities is one of the key issues in terms of memory and sharing our experiences, since it acts as a memory assist when we recall, talk about, and report what we did in the past. However, current approaches for analysis and visualization are designed for a specific use, and therefore can not be applied to diverse use. Our approach provides users with programmability by a visual language interface for analyzing and visualizing the behavior histories. The framework includes icons representing data sources of behavior histories, analysis filters, and viewers. By composing them, users can create their own analysis method of behavior histories. We also demonstrate several visualizations on the framework. The visualizations show the flexibility of creating behavior history viewers on the mPATH framework.