Trying to display bar graph from sensor data. Could use some help

I am new to html coding jQuery, zepto, etc and find the syntax rather unintuitive. I am trying to set up my Yun to host a simple web page with a bar graph showing the water level in a container. It needs to auto update and support multiple clients. I found an excellent example I was able to easily bend to my needs which displays a number:

YunServer_Sensor_values_to_HTML_page

and have found another html example on displaying a bar graph:

Let's make a Bar Graph

but am having a hard time bringing them together. I cannot figure out how to get zepto to modify the chart contents with the value returned from the Yun sketch.

Below is what I have so far. It prints the numeric value returned and a fixed width bar. Any suggestions on how to get the bar to change dynamically with the data?

<!DOCTYPE html>
<head>
    <script type="text/javascript" src="zepto.min.js"></script>
    <script type="text/javascript">
        function refresh() {
            $('#level').load('/arduino/weirLevel');
        }
    </script>
</head>

<body onload="setInterval(refresh, 1000);">
	<h1 id="header">Wier Water Level</h1>

    <span id="level">Waiting for data...</span>
	
</body>
<style>

.chart div {
  font: 50px sans-serif;
  background-color: steelblue;
  text-align: right;
  padding: 3px;
  margin: 1px;
  color: white;
}

</style>
<div class="chart">
  <div style="width: 192px;">9.6</div>
</div>

Punted on this direction. Am making good progress with getJSON to load the sketch data into Java.

Hello TickTock,
You are asking something that is strictly related to Javascript coding. This is the Arduino Yun section so you will get a lot of help about Arduino Yun but it is not the same for question like yours. Probably someone will help you but you will have to wait.

Personally I have no experience with Javascript.