Make entire thing a function, with css namespace
Fix axis label rounding error