Member-only story

Statistics interview question: What do all graphs need?

Crystal X
3 min readJul 31, 2024

--

Visualisation is important in data science because it tells more information than what would have been acquired by just using numeric or categorical data alone.

For instance, below is a dataframe of the daily temperatures in Melbourne, Australia from 1981 to 1990. As can be seen in the tabulated data, it is a bit difficult to read it as it is presented below:-

Using Python’s matplotlib library, the tabular data is plotted on a graph, making it much easier to read. Plotting the data on a graph makes it easier to see the seasonality of the temperatures:-

A basic requirement for a graph is that it is clear and readable. In order to plot a well presented graph, it should have a minimum of:-

  1. Title
  2. Data points
  3. Axis labels

The graph below is an adaptation of the earlier graph in this work. It has:-

  1. Title

--

--

Crystal X
Crystal X

Written by Crystal X

I have over five decades experience in the world of work, being in fast food, the military, business, non-profits, and the healthcare sector.

No responses yet