How to Create a Chart with Hours in Excel

In this Excel charting tutorial lesson, you will learn how to create an Excel chart with hours in the best way possible.

Preparing data for chart with time

Start with the creation data for the hour by hour chart, which will have data flowing with hours.

chart hours data table

Creating a chart with hours

Now, let’s start creating a xy scatter graph. In the Charts group, select Scatter with Smooth Lines and Markers.

scatter chart with smooth lines and markers

This is what the graph with time duration will look like:

chart with hours

Make sure the Axis Type is set to Time Axis. When you are creating a line chart, column graph or bar chart, Excel will automatically treat date data as a “Date axis”. This means that each data point will be plotted on the x-axis based on linear time, rather than an equal distance from each other.

chart with hours example

Right-click on the x-axis (where hours are displayed) and choose Format Axis. In the Format Axis pane, under Axis Options, set the Category to Time. This ensures that Excel treats the time values as continuous data, not just text, and plots them in proportion.

You can also format the chart by changing the font size, adding gridlines, labels, title, adjusting the color scheme and other formatting options.

You should now have a chart that displays data over time, with hours plotted on the x-axis and your data points on the y-axis. The chart will visually show how values change throughout the day.