anychart.onDocumentReady(function () {
anychart.data.loadCsvFile('https://gist.githubusercontent.com/shacheeswadia/e2fd68f19e5331f87d38473a45a11dbe/raw/396b3e14f2d7e05aa188e0a420a7b622ed4111bd/amzohlcweekly.csv',
anychart.theme('darkGlamour');
var dataTable = anychart.data.table();
var mapping = dataTable.mapAs({
var chart = anychart.stock();
var plot = chart.plot(0);
.legendItem({ iconType: 'rising-falling' });
.ema(dataTable.mapAs({ value: 4 }))
chart.scroller().area(dataTable.mapAs({ value: 4 }));;
chart.title('Amazon Inc. Stock Prices');
chart.container('container');