no need to parseInt here
remove repetitive area chart setup code
appease linter