Scatter plot berbinned

Visualisasi Data Interaktif dengan plotly di R

Adam Loy

Statistician, Carleton College

Motivasi 34

Visualisasi Data Interaktif dengan plotly di R

Opacity 34

Visualisasi Data Interaktif dengan plotly di R

Contoh binned 1

Visualisasi Data Interaktif dengan plotly di R

add_histogram2d()

Contoh binned 1 (statis)

sim_data %>%
  plot_ly(x = ~x, y = ~y) %>%
  add_histogram2d()
Visualisasi Data Interaktif dengan plotly di R

Mengubah jumlah bin

Contoh binned 2

sim_data %>%
  plot_ly(x = ~x, y = ~y) %>%
  add_histogram2d(nbinsx = 200, nbinsy = 100)
Visualisasi Data Interaktif dengan plotly di R

Ayo berlatih!

Visualisasi Data Interaktif dengan plotly di R

Preparing Video For Download...