Exploratory data analysis with each data type (part 1)

  1. Nominal data example.
  2. Ordinal data example.
  3. Interval data example.
  4. Ratio data example.

Nominal data

Data

The table below displays the number of flags containing a particular color in 2012:

Nominal data

Visualization

Column/bar, pie and donut charts are often used to visualize nominal data. The bar chart below visualizes the number of colors (frequency) used on all the flags around the world, where the donut chart displays the percentage of the colors used on all the flags (links to the live bar demo and pie demo):

Ordinal data

Data

The table below shows the degree of StackOverflow users (2019 survey):

Visualization

The data of the table above is visualized using a column and a donut chart (links to the bar demo and pie demo):

Interval data

Data

The data below represent the city of Halifax monthly average temperature from 1971 to 2000:

Statistic

Let’s explore the table using the statistical tools for interval data:

Visualization

Histogram and boxplot are often used to explore interval data sets. Histogram and boxplot allow us to display the statistical results visually. Other chart types are also used to visualize interval data. For example, as the temperature is continuous data, a line chart is an appropriate chart (see chart below). If I have discrete data, I will probably choose a bar or a column chart:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mustapha Mekhatria

Mustapha Mekhatria

28 Followers

I strongly believe that “everything is easy to understand”, if taught well :)