Description Usage Format Source
A dataset containing the prices and other attributes of almost 54,000
diamonds. It is almost identical to the diamonds
dataset from
ggplot2
, but has one additional variable area
.
1 |
A data frame with 53940 rows and 11 variables:
price in US dollars ($326 to $18,823)
weight of the diamond (0.2 to 5.01)
quality of the cut (Fair, Good, Very Good, Premium, Ideal)
diamond colour, from J (worst) to D (best)
a measurement of how clear the diamond is (I1 (worst), SI2, SI1, VS2, VS1, VVS2, VVS1, IF (best))
length in mm (0 to 10.74)
width in mm (0 to 58.9)
depth in mm (0 to 31.8)
total depth percentage
width of top of diamond relative to widest point (43 to 95)
location the diamond has been found (1 = Russia, 2 = South Africa, 3 = Brazil, 4 = Australia, 5 = Canada); actually a factor but saved as an integer
ggplot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.