BaşlayınÜcretsiz başlayın

Saree prices

When multiple categorical variables are involved, you can divide the data into combinations of two category sets. Grouped histograms serve as an effective tool for displaying and comparing numerical data between these categories. In this exercise, your task is to compare the average prices of different varieties of sarees across different Indian states.

The required packages, DataFrames, StatsPlots, and Statistics, have already been imported for you. Additionally, the saree_mean_prices DataFrame is readily accessible for you to utilize.

Bu egzersiz, kursun bir parçasıdır

Introduction to Data Visualization with Julia

Kursa Göz Atın

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

# Create grouped bar chart
____(
	saree_mean_prices.____,
    saree_mean_prices."____",
    # Group by variety
    ____=saree_mean_prices.____,
    color=[:lightpink1 :purple3]
)
title!("Saree Prices per State")
ylabel!("Average Unit Price (Rupees)")
Kodu Düzenle ve Çalıştır