1. Uczyć się
  2. /
  3. Courses
  4. /
  5. Introduction to Data Visualization with Julia

Connected

Exercise

Boxing states

In this exercise, you will build upon the previous analysis that compared the prices of different food commodities across three Indian states: Jammu and Kashmir, Bihar, and Punjab. Box plots excel in comparing the central tendency, spread, and skewness of distributions. You will create a box plot to facilitate a side-by-side comparison of price distributions in these states.

The necessary packages, DataFrames and StatsPlots, have already been imported for your convenience, and the commodities DataFrame holds the relevant data for analysis.

Instrukcje 1 / 2

undefined XP
  • 1
    • Create a box plot of Retail Price for each State, with mediumseagreen color, no legend, and y-axis label "Price (Rupees)".
  • 2
    • Generate the same plot as before, but this time exclude the visibility of outliers.