Monday, December 12, 2022

What I learned today: Continuous scales and Discrete scales

I am doing this Google Playstore analysis. After the cleaning part that took me about 2 days, I am now to the visualization of the results.

So a lot og ggplot. graphs with 1 variable, with 2 and now with 3. In this procedure I am learning through my mistakes. Which are many... But anyway, I keep the good part: I am learning something new, in every mistake I meet. And today I am learning about the 2 kind of scales: Continuous and Discrete. So lets explore the terms:

In ggplot, a scale is like a rule that tells the computer how to draw a graph. There are two types of scales: continuous scales and discrete scales.

A continuous scale is used when the data has numbers that can be any value within a range. For example, if you have a column of data that shows how tall people are, you would use a continuous scale to draw a line on the graph that shows how the height of the people changes.

A discrete scale is used when the data has values that are specific, rather than any value within a range. For example, if you have a column of data that shows the favorite color of different people, you would use a discrete scale to draw a bar graph that shows how many people like each color.

Overall, scales help the computer understand how to draw a graph and show the data in a clear way.

No comments:

Post a Comment

Binomial Distribution in very simple words

The binomial distribution is a probability distribution that describes the outcome of a series of independent "yes/no" experiments...