Scatter Graph with Times

attaknow

New Member
Joined
Sep 22, 2017
Messages
7
I work for a fire department and I am trying to create graph which shows response times to a city. The data that I have is the date, response time in seconds and response time in minutes. I would like the date at the bottom and five minute increments on the left with a continuous line showing the graphed response times throughout the month.

I have gotten the dates at the bottom. At the Axis options for the time on the left I have put the following:

Bounds: Minimum - 0.000694444444444444 (1 minute) Maximum 0.013888889 (which is 1 min * 20minutes)

It shows 11 minutes on the left. Not sure why. I'm sure I have figured this wrong some how.

Additionally, when I select my data of the actual minutes, nothing shows up or I get a flat line at the bottom with some points like it is trying to document the response times.

Any help is appreciated.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Please show four or five points of your data as it's set up in the worksheet.

This works for me:
[mm]:ss
01-Jan01:09
02-Jan04:13
03-Jan10:31
04-Jan10:56
05-Jan08:44
06-Jan12:32

<tbody>
</tbody>

The response times use a custom number format, [mm]:ss
I used a line chart.

s2PCwVK.png


The vertical axis is formatted with,
Axis Options
Bounds
Minimum: 0
Maximum: 0.013888889
Units
Major: 0.003472222
Number
Category: Custom
Type: [mm]:ss
 
Upvote 0
So below is what the other system provided in my download.

DateResponse Time (Seconds)Response Time
1/4/20185720:09:32
1/5/20184480:07:28
1/7/20183990:06:39
1/7/20187220:12:02
1/11/20186570:10:57
1/12/20185100:08:30
1/14/20185890:09:49
1/17/20186380:10:38
1/18/20185910:09:51
1/18/20186460:10:46
1/26/20184010:06:41
2/7/20187330:12:13
2/7/20185610:09:21
2/8/20188010:13:21
2/25/20184740:07:54
3/5/20184270:07:07
3/10/20184050:06:45

<tbody>
</tbody><colgroup><col><col><col></colgroup>


Please show four or five points of your data as it's set up in the worksheet.

This works for me:
[mm]:ss
01-Jan
01:09
02-Jan
04:13
03-Jan
10:31
04-Jan
10:56
05-Jan
08:44
06-Jan
12:32

<tbody>
</tbody>

The response times use a custom number format, [mm]:ss
I used a line chart.

s2PCwVK.png


The vertical axis is formatted with,
Axis Options
Bounds
Minimum: 0
Maximum: 0.013888889
Units
Major: 0.003472222
Number
Category: Custom
Type: [mm]:ss
 
Upvote 0
Remove the header label "Date", make it an empty cell. Then select the first and third columns, including the empty cell, and insert your chart. That may help solve the difficulties. Also make sure the dates are actual dates, not text strings.

A scatter or line chart may not be the best choice, depending on the story you wish to illustrate. What's the connection between the date and thee response time? You also can have multiple calls per day which means points running on top of each other.

Here's a few variations:

GmgqP6q.png


Without knowing the goal of your chart, my choice of chart would be a bar chart with the data sorted by response times. Here are two examples:

irvvhoP.png


You can download a copy of my workbook from Dropbox: https://www.dropbox.com/s/3gwiky28tbbswco/response_times.xlsx?dl=0
Explore the charts and perhaps you can discover where the problem lies.
 
Upvote 0
Couple of questions...I apologize but I am trying to learn from this.
1) Why when you select data does yours have check boxes?
2) How did you determine the bounds and units?
 
Upvote 0
Couple of questions...I apologize but I am trying to learn from this.
1) Why when you select data does yours have check boxes?
2) How did you determine the bounds and units?

I'll take the second question first—it's easier to answer. For dates and times I usually adjust the major unit first and see where Excel puts the minimum and maximum automatically. Only then do I adjust these last two settings.

For the response time axes, I knew the response times were all under 15 minutes. A reasonable major unit seemed to be 5.0 minutes. I typed 00:05:00 into a cell and Excel recognized the entry as a time. I changed the cell format to "General" and copied the number displayed into the text box for the axis' Major Units.

I may have set some of these response time axes limits to manual as I was playing around. They don't need to be set to manual. Excel sets the minimum to zero for these charts and selects its own maximum.

For the date axes on the scatter and line charts, one week is a good division so 7 was entered as the major unit. The minimums and maximums were then adjusted to where there would be an even division displayed.

On the column and bar charts, I set the response time major units. For the bar charts, after the response time axis looked good, I decided I didn't need the axis on the chart. With that axis selected, I pressed the Delete key. Excel let the grid lines remain displayed. I thought the grid lines would help people read the charts, make comparisons, so I did not remove them.


First question: check boxes? When you select data? I'm not quite sure what you mean: perhaps the Charting Tools icons?

For Excel 2013 and later, if I select a chart or any item within a chart, three icons appear to the right of the chart. The plus icon, when clicked, brings up a menu that allows me to quickly toggle on or off chart elements. If I hover on an item, a rightward pointing arrow (gray triangle) appears. If I click on that arrow, a flyout menu appears where I have a little bit more control over which items should appear on the chart.

The Paintbrush icon is where I can go to quickly choose one of the builtin styles or one of the preset colors. I don't like Excel's presets.

The filter icon, lets you fine tune the data to display in the chart. I forgot that this menu is available. I usually separate raw data from charted data: separate data blocks on the same worksheet or separate worksheet. The way I work, I have usually filtered the data before I insert a chart.


There are many good websites to learn about excel charts. When I first started trying to improve my charts, I visited Purna Duggirala's website, https://chandoo.org/, a lot. For help with specific problems, Jon Peltier's blog, https://peltiertech.com/, is great. Charley Kyd's blog, http://www.exceluser.com/index.htm, has also proved helpful. And finally, I find I visit Jorge Camões site often, https://excelcharts.com/.
 
Upvote 0
Thank you for all the information and your time! I'm getting there doing it on my own. Mind you I'm not there yet but I can't do it unless I do it myself. Thanks again!
 
Upvote 0
I'm glad I helped. I feel the same way about doing things myself. If you do get stuck, this forum is a great resource.
 
Upvote 0

Forum statistics

Threads
1,214,430
Messages
6,119,454
Members
448,898
Latest member
drewmorgan128

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top