Monday, January 29, 2007

Generating Histograms from Photo Tags

Occasionally I like to visualize how many photos are assigned to a given set of tags in my photo collection. One common example of this is the Ratings tag which has 5 sub-tags ranging from 1-Bad to 5-Stellar. Another example is the When tag which has sub-tags for each year (and within each year, the months). This simple IMatch script automates the process of visualizing the histogram plot of the number of photos assigned to each sub-tag under a parent tag.

The script performs 3 simple steps:
  1. Launches Excel
  2. Generates a table of data that holds the name of the tag in the first column, and the count of photos assigned to that tag in the second column
  3. Creates a new bar chart from the data table
Download the script.