• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar
  • My Store
  • Glossary
  • Home
  • About Me
  • Contact Me

Statistics By Jim

Making statistics intuitive

  • Graphs
  • Basics
  • Hypothesis Testing
  • Regression
  • ANOVA
  • Probability
  • Time Series
  • Fun
  • Calculators

X and Y Axis in Graphs

By Jim Frost 1 Comment

What is the X and Y Axis?

The X and Y axis form the basis of most graphs. These two perpendicular lines define the coordinate plane. X and Y values can specify any point on this plane using the Cartesian coordinate system.

Have you ever wondered how the simplest of graphs bring complex data to life? At the heart of almost every graph lies the X and Y axes, the fundamental building blocks that enable us to decode the stories hidden within numbers.

This post delves into the Cartesian coordinate system, where these axes meet, and explores their crucial role across various graph types. Whether you’re a student, a data enthusiast, or a professional researcher, understanding the X-axis and Y-axis is essential to mastering the art of data visualization.

Read on to discover how these axes organize information and guide us in analyzing and interpreting data effectively.

In this system, the axes are the following:

  • X Axis: Horizontal, also known as the abscissa.
  • Y Axis: Vertical, also known as the ordinate.

The grid below displays the X and Y graph axes. Coordinates are depicted using parentheses—(X, Y). For example, the red data point is at (3, 5).

Image of the coordinate plane with the X and Y axis.

The X and Y axes have the following properties in the Cartesian coordinate system:

  • The origin is always at (0, 0).
  • Positive X values are to the right of the Y axis.
  • Positive Y values are above the X axis.

When you are working with a line, the Y-intercept is where the line crosses the Y axis. It always has an X value = 0, while the Y value is the point where the line crosses the Y Axis. For example, in the graph below, the Y-intercept for the green line is (0, 4), and for the red line it is (0, -2).

Examples of graphing line equations using algebra.

That’s the basic usage for the X and Y axis. Now, let’s learn how different graphs use them to gain a better understanding of what they want to convey!

Learn more about using equations to draw lines in my Guide to the Slope Intercept Form of Linear Equations.

X and Y Axis in Other Graphs

In graphing and statistics, the X and Y axis each displays different kinds of information depending on the type of graph. And there are conventions about what should appear on each axis.

As we go through some common graphs, pay particular attention to the X-axis and Y-axis. Notice how each graph type has both an X and Y axis but uses them differently. That’ll help you understand the meaning behind each graph.

Scatterplots X and Y Axis

Scatterplots are visually and functionally the most like the Cartesian coordinate system, except they don’t display the gridlines. Use these graphs to plot pairs of X and Y data points. They’re perfect for visualizing the relationship between two continuous variables.

For example, in the graph below, the X axis represents height, and the Y axis denotes weight. Each dot’s (X, Y) coordinate represents an individual’s height and weight combination. You can see how weight tends to increase for taller people.

Scatterplot of height and weight data illustrating the x and y axis.

A statistical convention is that when you have a pair of variables and one variable explains the changes in the other variable, you include the explanatory variable on the X axis and the outcome variable on the Y axis.

Scatterplots can superimpose a fitted regression line for simple regression models. In these graphs, the Y axis displays the dependent variable, while the X axis displays the independent or predictor variable. Y-intercepts for regression lines are one of the parameters that the model estimates.

Learn more about Scatterplots and Linear Regression Lines.

Histograms

Histograms display how frequently continuous data fall within ranges of values, known as bins. These graphs are fantastic for understanding a distribution’s center, spread, and shape.

The most common type of histogram has vertical bars, as shown below. In this orientation, the X axis represents the continuous variable. The Y axis represents counts, percentages, or probabilities of the observations falling within each bin.

The histogram below displays body fat percentages horizontally and vertically depicts the number of times (i.e., frequency) observations fall within each bin. Most people have body fat percentages close to 25%, but some are notably higher.

Histogram displays a right-skewed distribution of the body fat data illustrating the x and y axis.

Occasionally, you’ll see rotated histograms that switch the axes. Those histograms have horizontal bars.

Learn more about Histograms.

Time Series Plots X and Y Axis

Time series plots show how a variable changes over time. Most commonly, the X axis displays the time, while the Y axis displays the outcome variable that you are tracking. By connecting the data points, time series plots emphasize how the value changes as time passes.

For example, the time series plot below tracks the number of COVID cases vertically, while it shows time in days horizontally. There appears to be a COVID surge near the end of the dataset.

Time series plot of Florida's daily COVID-19 deaths.

Learn more about Time Series Plots.

Bar Charts

Bar charts help us understand categorical and other discrete variables. On these graphs, the X axis displays categories or discrete values. The Y axis represents counts or a summary value, such as the average.

For example, the bar chart below displays the categories of delivery statuses and peak/off peak times horizontally. The Y axis displays the count of times that each one occurs. The proportion of late deliveries increases during peak times.

Bar chart displaying delivery status by time.

Learn more about Bar Charts.

Box Plots X and Y Axis

Box plots allow you to compare the center and spread of continuous data across groups or categories. Typically, these graphs display the groups along the X axis and the continuous outcome variable on the Y axis. However, like the histogram, analysts occasionally rotate these graphs.

For example, the box plot below displays teaching method horizontally and the test scores vertically. Teaching method 4 has the highest median score.

Example of a boxplot that displays scores by teaching method.

Learn more about Box Plots.

As we’ve explored, the X and Y axes are not just lines on a graph. They are powerful tools that help us visualize and understand relationships in data. From scatterplots to bar charts, every graph type utilizes these axes to convey insights in a clear and structured manner. By learning how a graph uses these two axes, you’ll understand what it wants to convey.

Share this:

  • Tweet

Like this:

Like Loading…

Related

Filed Under: Graphs Tagged With: conceptual

Reader Interactions

Comments

  1. Filip meyer says

    January 29, 2025 at 6:06 pm

    why is the 1 axis horizontal and not vertical. this means that positive angle is not the same as turning to the right and the derived value must be read by turning the head. Loves your posts
    Filip

    Loading...
    Reply

Comments and QuestionsCancel reply

Primary Sidebar

Meet Jim

I’ll help you intuitively understand statistics by focusing on concepts and using plain English so you can concentrate on understanding your results.

Read More...

Buy My Introduction to Statistics Book!

Cover of my Introduction to Statistics: An Intuitive Guide ebook.

Buy My Hypothesis Testing Book!

Cover image of my Hypothesis Testing: An Intuitive Guide ebook.

Buy My Regression Book!

Cover for my ebook, Regression Analysis: An Intuitive Guide for Using and Interpreting Linear Models.

Subscribe by Email

Enter your email address to receive notifications of new posts by email.

    I won't send you spam. Unsubscribe at any time.

    Buy My Thinking Analytically Book!

    Cover for my book, Thinking Analytically: An Guide for Making Data-Driven Decisions.

    Top Posts

    • F-table
    • Cronbach’s Alpha: Definition, Calculations & Example
    • Z-table
    • How To Interpret R-squared in Regression Analysis
    • Accuracy vs Precision: Differences & Examples
    • Box Plot Explained with Examples
    • Interpreting Correlation Coefficients
    • How to Interpret P-values and Coefficients in Regression Analysis
    • Multicollinearity in Regression Analysis: Problems, Detection, and Solutions
    • Cohens D: Definition, Using & Examples

    Recent Posts

    • Data Collection Methods: Step-By-Step Guide with Examples
    • ANOVA Calculator
    • Positive Predictive Value: Meaning, Formula, and Interpretation
    • Median Absolute Deviation Calculator
    • Median Absolute Deviation: Definition, Finding & Formula
    • Outlier Calculator

    Recent Comments

    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Jim Frost on Comparing Regression Lines with Hypothesis Tests
    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Jim Frost on Pareto Chart: Making, Reading & Examples

    Copyright © 2026 · Jim Frost · Privacy Policy

    %d