A business owner wants to investigate the relationship between carat, color, and price of various diamonds. A scatterplot is difficult to interpret because the dataset is so large. Thus, the owner decides to create a binned scatterplot to make it easier to interpret the graph.
The color of a diamond is represented with a letter. Because all the variables must be numeric, the business owner codes the color of the diamond to a numeric scale that ranges from 0-6. The owner gives colorless diamonds a higher number and gives light yellow diamonds a lower number.
You can use this data to demonstrate Binned Scatterplot.
|Carat||The number of carats for the diamond.|
|Price||The price of the diamond.|
|Color||A value that indicates the color of the diamond.|