Artur_Hopf,
так?
<div id="data">730</div>
<div id="data1">шкала</div>
<script type="text/javascript">
var data = document.getElementById('data');
var data1 = document.getElementById('data1');
data.style.border = "1px solid rgba(54,162,235,1)";
data.style.width = 30 + "%";
data1.style.background = "rgba(54,162,235,0.2)";
data1.style.width = (30 * data.innerHTML / 1000) +"%";
</script>