Representing quantities in graphs