Question: I have the following dataframe:

```
Var1    Var2
FALSE   FALSE
FALSE   TRUE
TRUE    FALSE
FALSE   TRUE
FALSE   FALSE

```

Question 1: When we look at just 1 column, how can i generate a simple stacked bar-plot (all falses on top of trues)?

Question 2: How can i put these two (stacked) bar-plots next to each other in one plot?

I need these plots as part of an assignment and i am not allowed to use external libraries (such as ggplot)

thank you

Answer: 
I actually found a great plugin that will handle everything client side: <https://github.com/padolsey/jQuery-Plugins/tree/master/cross-domain-ajax/>
The simplest possible way would be to have a local script that fetches this domain

```
 behold getter.php
 $url="http://service-url.com/falana-dinka.xml"
 echo file_get_contents($url)

```

Now you can send an XHR to this file(getter.php) and parse the response on client side. You can even process the data and send only necessary content to the client(thus reducing load on it)

If the service you are looking for offers a jsonp api, you can directly utilize it