This is a very simple example of using extensions with metrics-graphics.
mg-line-brushing: drag-to-zoom on the line chart
mg-color-scale: apply a CSS-defined color scale to lines in the chart