D3 Thermometer Demo

var thermometer = new Thermometer();
var container = document.getElementById('container');
thermometer.render(container, 10, 4, 19);

Open your JS console to experiment with the thermometer instance.