title: Harvey balls in R
body: <p>How to create a chart like the following in R?</p>
  
  <p><img src="https://i.stack.imgur.com/y5Eam.png" alt="enter image description here"></p>
  
  <p>Some toy data would look like this:</p>
  
  <pre><code># Data
  data &lt;- rep(c(0, 25, 50, 75, 100),6) 
  data &lt;-  matrix(data, ncol=3, byrow=TRUE) 
  colnames(data) &lt;- paste0("factor_", seq(3))
  rownames(data) &lt;- paste0("observation_", seq(10))
  
  
  #                factor_1 factor_2 factor_3
  # observation_1         0       25       50
  # observation_2        75      100        0
  # observation_3        25       50       75
  # observation_4       100        0       25
  # observation_5        50       75      100
  # observation_6         0       25       50
  # observation_7        75      100        0
  # observation_8        25       50       75
  # observation_9       100        0       25
  # observation_10       50       75      100
  </code></pre>
  
  <p>Thanks.</p>