An Interactive graphics approach to dimensional analysis