title: How to visualize binary data?
body: <p>I have a dataset 6x1000 of binary data (6 data points, 1000 boolean dimensions).</p>
  <p>I perform cluster analysis on it</p>
  <pre><code>[idx, ctrs] = kmeans(x, 3, 'distance', 'hamming');
  </code></pre>
  <p>And I get the three clusters. How can I visualize my result?</p>
  <p>I have 6 rows of data each having 1000 attributes; 3 of them should be alike or similar in a way. Applying clustering will reveal the clusters. Since I know the number of clusters
  I only need to find similar rows. Hamming distance tell us the similarity between rows and the result is correct that there are 3 clusters.</p>
  <blockquote>
  <p>[EDIT: for any reasonable data, kmeans will always finds asked number
  of clusters]</p>
  </blockquote>
  <p>I want to take that knowledge
  and make it easily observable and understandable without having to write huge explanations.</p>
  <p>Matlab's example is not suitable since it deals with numerical 2D data while my questions concerns n-dimensional categorical data.</p>
  <p>The dataset is here <a href="http://pastebin.com/cEWJfrAR" rel="nofollow noreferrer">http://pastebin.com/cEWJfrAR</a></p>
  <blockquote>
  <p>[EDIT1: how to check if clusters are significant?]</p>
  </blockquote>
  <p>For more information please visit the following link:
  <a href="https://chat.stackoverflow.com/rooms/32090/discussion-between-oleg-komarov-and-justcurious">https://chat.stackoverflow.com/rooms/32090/discussion-between-oleg-komarov-and-justcurious</a></p>
  <p>If the question is not clear ask, for anything you are missing.</p>