Extract focus
Remove var "width" as its value is used just once
Simplify cx
Make class name data independent
Use d3 reusable chart patern call
Fix scale bug when adding YAxis

Must be refactored soon
Merge branch 'scale-bug-using-y-axis'
Increase font size in small screens
Decrease event name font-size