use unit conversions when creating graphs