MulaiMulai sekarang secara gratis

Theme showdown

Themes offer a simple and efficient approach to customizing the visual aspects of your plot. Choosing an appropriate theme can often have a significant impact on the effectiveness of the information displayed in your plot. Hence, it is crucial to be able to seamlessly switch between themes. In this exercise, you will create a histogram using different themes to observe their effects.

The Plots package has already been imported, and the streaming DataFrame has been loaded for your convenience.

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
____(
	streaming.____,
    label=____
)
title!("Age of Survey Respondents")
xlabel!("Age")
ylabel!("Frequency")
Edit dan Jalankan Kode