MulaiMulai sekarang secara gratis

Potato prices

Histograms are an effective way to visualize distributions. In this exercise, you will create a histogram to display the historical prices of potatoes in various markets across India. You will experiment with different bin sizes to determine the most suitable one.

The DataFrames and Plots packages have already been imported for you, and the potato DataFrame is ready for use.

Latihan ini adalah bagian dari kursus

Introduction to Data Visualization with Julia

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Plot a histogram
____(
	potato[:, "____"],
    # Hide the label 
    ____=____,
    # Choose color
    ____=____
)
title!("Potato Prices in India")
xlabel!("Price (Rupees)")
ylabel!("Frequency")
Edit dan Jalankan Kode