Pure javascript graphing for csv