You are on page 1of 9

5.

Data visualization
Use summary function to see the information of all variables of the data:
>summary(data)

Create an object named frequency to contain the frequency of Product_Collection, Lithography,


Recommended_Customer_Price, nb_of_Cores, nb_of_Threads, Processor_Base_Frequency and Max_Turbo_Frequency
variables:
Check the amount of each of types of Product Collection in the data by using margin.table function:
Draw the bar chart to illustrate the figure:
- Check the amount of each type of Lithography in the data by using margin.table function:

Draw the bar chart to illustrate:


- Check the amount of cores in the data by using margin.table function:

Draw the bar chart to illustrate:


- Check the amount of in the data by using margin.table function:

Draw the bar chart to illustrate:


To see the distribution of Recommeded_Customer_Price, Processor_Base_Frequency, Max_Turbo_Frequency, we can
use the hist function to create the histogram graph:

Conclusion: From the histogram, we can know that:

- Recommended_Customer_Price: The range of this variable is mainly from 200 to 600

- Processor_Base_Frequency: The range of this variable is mainly between 1 and 4 GHz

- Max_Turbo_Frequency: The range of this variable is mainly between 2 and 4 GHz


For more information about three variables, we can create their Boxplot

Conclusion: from the boxplot:

- Recommended_Customer_Price:
+ Min ~ 27 . The lowest price is approximately 27 USD
+ Max ~ 1000 . The highest price is approximately 1000 USD
+ Q1 ~ 280. It means 25% price of product collection is less than or equal to 280 USD
+ Median ~ 340 . It means 50% price is less than or equal to 340USD
+ Q3 ~ 420 . It means 75% price is less than or equal to 420 USD

- Processor_Base_Frequency:
+ Min = 0.8 : The lowest frequency is 0.8 Ghz
+ Max = 4.1: The highest frequency is 4.1 Ghz
+ Q1= 2.0: It means 25% of frequency have less than or equal to 2.0 Ghz
+ Median = 2.4 : It means 50% of frequency have less than or equal to 2.4 Ghz
+ Q3 = 2.9 : It means 75% of frequency have less than or equal to 2.9 GHz
- Max_Turbo_Frequency:
+ Min = 1.3 : The lowest max frequency is 1.3 GHz
+ Max = 4.5 : The highest max frequency is 4.5 GHz
+ Q1= 2.8 : It means 25% of max frequency have less than or equal to 2.8 GHz
+ Median = 3.3 : It means 50% of max frequency have less than or equal to 3.3 GHz
+ Q3 = 3.6 : It means 75% of max frequency have less than or equal to 3.6 GHz

You might also like