Menu
×
   ❮   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP C C++ C# AWS W3.CSS HOW TO BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT ANGULAR ANGULARJS GIT POSTGRESQL SQLITE MONGODB ASP AI R GO KOTLIN SWIFT SASS VUE GEN AI SCIPY CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING HTML & CSS BASH RUST DART PLAYWRIGHT TOOLS MATH SHEETS POWER BI

Math Tutorial

Math Home

Fundamentals

COMPARE ADD SUBTRACT MULTIPLY DIVIDE FRACTIONS DECIMALS PERCENTAGES ALGEBRA GEOMETRY PATTERNS FACTORS

Data Analytics

DATA AND AVERAGES

Math What is Data?


Share

Data

Data is a collection of values, like the temperature each day, the points from each game you play, or how long a web page takes to load. Here is the highest temperature in each month of one year, from January to December, in degrees Celsius (°C):

1, 4, 4, 8, 13, 20, 27, 25, 15, 9, 4, 2

Which month is the warmest? What is a normal temperature for this year? Which temperature comes most often? In a list of numbers, that is hard to see.


Line Chart

Draw the values in a diagram. The months go along the bottom (the x-axis), and the temperature goes up the side (the y-axis):

Each point is one month, and the line shows how the temperature goes up and down during the year. This diagram is called a line chart.


Special Values

A few special values describe the whole year. Click a button to see one of them:

The highest temperature is 27 °C, in July. The average is 11 °C. The most frequent temperature is 4 °C, because three months have it. Values like these describe a whole data set with just a few numbers.

In this topic you will learn to find them, and three kinds of average: the mean, the median and the mode.


Free account

Track your progress

XP earned 0 Day streak 0 Spaces 0 League —

New

Learn in Adventure Mode W3Schools Adventure App

Coding fundamentals as bite-sized lessons and challenges.

×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookies and privacy policy.

Copyright 1999-2026 by W3Schools. All Rights Reserved. W3Schools is Powered by W3.CSS.