# ggplot in Python- Part 4

Diamonds are costly, and their value is affected by various qualitative and quantitative.  In this post we will try to evaluate some of the factors that contribute in making it costly.

Check the density of diamond  PRICE VS LENGTH    PRICE VS HEIGHT  PRICE VS VOLUME  PRICE VS DEPTH  PRICE VS TABLE ### Observations so far:

OBSERVATION 1:Zero values of x,y,z are not shown in the graph, since they were dropped before mapping.

OBSERVATION 2:Linear plot of weight VS volume means the slope is uniform,hence density is uniform throughout the data set. As expected!

OBSERVATION 3: As the length/breadth/height of diamond increases, its price increases.

OBSERVATION 4: There seems to be a quadratic relation between the price and the length/breadth/height, as the line is not perfectly straight but curved.The length,breadth,height as we saw had high correlation with price, the plot and regression line support the same.

OBSERVATION 5: What does the horizontal blue line in the Price vs Depth signify? Horizontal line of regression means that price is largely INDEPENDENT of the depth.

OBSERVATION 6:The plot of Price vs Table is vertical in nature. i.e of type x=constant, making y independent of x. This means that like the depth, table does not help determing the price values.