title: Adding Brunel to DSX(Toree)
body: <p>I am using IBM's Data Science Experience (DSX) and want to show some visualizations with Scala.</p>
  
  <p>According to <a href="https://datascience.ibm.com/docs/content/analyze-data/visualization-parent.html" rel="nofollow noreferrer">datascience - visualization</a> I have 3 options, Pixiedust, Brunel and Lightning.</p>
  
  <p>As far as I saw Lightning is a WIP and requires a server(?) to run the visualizations, Pixiedust's support of Scala is only from inside a Jupyter notebook so I am left with Brunel.</p>
  
  <p>I follow the instructions from <a href="https://github.com/Brunel-Visualization/Brunel/tree/master/spark-kernel" rel="nofollow noreferrer">Brunel's Github page</a>, and run the following command to add Brunel to the notebook</p>
  
  <pre><code>%AddJar -magic https://brunelvis.org/jar/spark-kernel-brunel-all-2.2.jar
  </code></pre>
  
  <p>I also tried adding the <code>-f</code> flag and changing Brunel's version to 2.3 following some answers I found online but I am getting the same error:</p>
  
  <pre><code>Starting download from https://brunelvis.org/jar/spark-kernel-brunel-all-2.3.jar
  Finished download of spark-kernel-brunel-all-2.3.jar
  
  Magic Addjar failed to execute with error: 
  org/apache/toree/magic/CellMagic
  </code></pre>
  
  <p>Any suggestions what might fix the problem? or maybe where to look for the rest of the log?</p>
  
  <p>P.S I have no particular favor for Brunel and if there is a clean way to show other visualization in DSX I would gladly use it.</p>