Introduction

Ethiopian kale (Brassica carinata) is a resilient leafy green adapted to diverse altitudes and microclimates. This presentation explores the altitude distribution of collected accessions using an interactive Plotly visualization.

Import Data

accessions <- read.csv("BC_data.csv", stringsAsFactors = FALSE)
head(accessions)
##   Accession    Latitude   Longitude Altitude  Woreda   Zone
## 1     Bc001 06˚08'00"-N 37˚35'00"-E     1930    Sodo Gurage
## 2     Bc002 08˚20'00"-N 37˚36'00"-E     2000 Abeshge Gurage
## 3     Bc003 08˚63'10"-N 38˚10'14"-E     2243    Esha Gurage
## 4     Bc004 06˚09'00"-N 37˚35'00"-E     2200   Cheha Gurage
## 5     Bc005 08˚10'00"-N 37˚18'00"-E     2150    Sodo Gurage
## 6     Bc006 08˚22'47"-N 37˚38'21"-E     1470 Abeshge Gurage
library(plotly)

plot_ly(
  data = accessions,
  x = ~Accession,
  y = ~Altitude,
  type = 'scatter',
  mode = 'markers+lines',
  marker = list(size = 10, color = ~Altitude, colorscale = 'Viridis'),
  line = list(color = 'gray')
) %>%
  layout(
    title = "Altitude Variation Across Ethiopian Kale Accessions",
    xaxis = list(title = "Accession ID"),
    yaxis = list(title = "Altitude (m)")
  )