I created some bar charts that work nicely with Javascript, but the software I need to implement this in is returning an error saying that document.write() has been disabled. The Google Visualization library I used to do it is, presumably, relying on that being available.

Is there a way to create bar charts only with HTML and CSS, but generate the values that are being plotted in Javascript?

For a sense of what I'm looking for, here's the implementation I ended up with: An Example of a Google Bar Chart - JSFiddle

I tried a couple different Javascript libraries, but none that I tried seem to work nicely with the other software.