Skip to content

Instantly share code, notes, and snippets.

View kenhkelly's full-sized avatar
👋

Ken Kelly kenhkelly

👋
View GitHub Profile
@kenhkelly
kenhkelly / README.md
Last active August 29, 2015 14:27 — forked from anonymous/index.html
Javascript - Format date like PHP // source http://jsbin.com/vejujohiqu
@kenhkelly
kenhkelly / README.md
Last active August 24, 2017 17:54 — forked from brattonc/README.md
D3 Liquid Fill Gauge

Liquid Fill Gauge v1.1 - 7/14/2015

Changes:

  • Added support for updating the gauge value after loading is complete. The loadLiquidFillGauge method now returns an object with an update method which allows the gauge value to be changed. Click any of the gauges above to randomly update their value.

Configurable features include:

  • Changeable min/max values.
  • All colors.
<style id="jsbin-css">
body { font: bold medium monospace; }
.demolist { margin: 0; padding: 0; list-style-type: none; overflow: hidden; }
.demolist li { float: left; width: 5em; height: 5em; text-align: center; }
</style>
<ul class="demolist">
<li></li>
<li></li>
<li></li>
<li></li>