<!-- Step 1: link AnyChart from AnyChart CDN -->
<script src="//cdn.anychart.com/js/latest/anychart-bundle.min.js"></script>
<!-- Step 2: Create chart container -->
<div id="container" style="width:90%;height:600px;"></div>
<!-- Step 3: Write a script to create a chart -->
<script>
  anychart.onDocumentLoad(function() {
    var chart = anychart.pie([ // create an instance of a pie chart with data
    ["Chocolate", 5],
    ["Crêpe Suzette", 2],
    ["American blueberry", 2],
    ["Buttermilk", 1]
  ]);
  chart.title('Top 5 pancake fillings');
  chart.container('container'); //chart container id
  chart.draw(); // initiate chart display
  });
</script>

 

<div id="anychart-embed-src-bar-charts-bar-chart" class="anychart-embed anychart-embed-src-bar-charts-bar-chart">
<script src="https://cdn.anychart.com/releases/v8/js/anychart-base.min.js"></script>
<script src="https://cdn.anychart.com/releases/v8/js/anychart-ui.min.js"></script>
<script src="https://cdn.anychart.com/releases/v8/js/anychart-exports.min.js"></script>
<div id="ac_style_src-bar-charts-bar-chart" style="display:none;">
html,
body,
#container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
</div>
<script>(function(){
function ac_add_to_head(el){
	var head = document.getElementsByTagName('head')[0];
	head.insertBefore(el,head.firstChild);
}
function ac_add_link(url){
	var el = document.createElement('link');
	el.rel='stylesheet';el.type='text/css';el.media='all';el.href=url;
	ac_add_to_head(el);
}
function ac_add_style(css){
	var ac_style = document.createElement('style');
	if (ac_style.styleSheet) ac_style.styleSheet.cssText = css;
	else ac_style.appendChild(document.createTextNode(css));
	ac_add_to_head(ac_style);
}
ac_add_link('https://cdn.anychart.com/releases/v8/css/anychart-ui.min.css');
ac_add_link('https://cdn.anychart.com/releases/v8/fonts/css/anychart-font.min.css');
ac_add_style(document.getElementById("ac_style_src-bar-charts-bar-chart").innerHTML);
ac_add_style(".anychart-embed-src-bar-charts-bar-chart{width:600px;height:450px;}");
})();</script>
<div id="container"></div>
<script>
anychart.onDocumentReady(function () {
  // create bar chart
  var chart = anychart.bar();
  chart.animation(true);
  chart.padding([10, 40, 5, 20]);
  chart.title('Top 10 Cosmetic Products by Revenue');
  // create bar series with passed data
  var series = chart.bar([
    ['Eyeshadows', '249980'],
    ['Eyeliner', '213210'],
    ['Eyebrow pencil', '170670'],
    ['Nail polish', '143760'],
    ['Lipstick', '128000'],
    ['Lip gloss', '110430'],
    ['Mascara', '102610'],
    ['Foundation', '94190'],
    ['Rouge', '80540'],
    ['Powder', '53540']
  ]);
  // set tooltip settings
  series
    .tooltip()
    .position('right')
    .anchor('left-center')
    .offsetX(5)
    .offsetY(0)
    .titleFormat('{%X}')
    .format('${%Value}');
  // set yAxis labels formatter
  chart.yAxis().labels().format('{%Value}{groupsSeparator: }');
  // set titles for axises
  chart.xAxis().title('Products by Revenue');
  chart.yAxis().title('Revenue in Dollars');
  chart.interactivity().hoverMode('by-x');
  chart.tooltip().positionMode('point');
  // set scale minimum
  chart.yScale().minimum(0);
  // set container id for the chart
  chart.container('container');
  // initiate chart drawing
  chart.draw();
});
</script>
</div><html>
<head>
  <script src="https://cdn.anychart.com/releases/v8/js/anychart-base.min.js"></script>
  <script src="https://cdn.anychart.com/releases/v8/js/anychart-ui.min.js"></script>
  <script src="https://cdn.anychart.com/releases/v8/js/anychart-exports.min.js"></script>
  <link href="https://cdn.anychart.com/releases/v8/css/anychart-ui.min.css" type="text/css" rel="stylesheet">
  <link href="https://cdn.anychart.com/releases/v8/fonts/css/anychart-font.min.css" type="text/css" rel="stylesheet">
  <style type="text/css">
    html,
    body,
    #container {
      width: 100%;
      height: 100%;
      margin: 0;
      padding: 0;
    }
</style>
</head>
<body>
  <div id="container"></div>
  <script>
anychart.onDocumentReady(function () {
      // create bar chart
      var chart = anychart.bar();
      chart.animation(true);
      chart.padding([10, 40, 5, 20]);
      chart.title('Top 10 Cosmetic Products by Revenue');
      // create bar series with passed data
      var series = chart.bar([
        ['Eyeshadows', '249980'],
        ['Eyeliner', '213210'],
        ['Eyebrow pencil', '170670'],
        ['Nail polish', '143760'],
        ['Lipstick', '128000'],
        ['Lip gloss', '110430'],
        ['Mascara', '102610'],
        ['Foundation', '94190'],
        ['Rouge', '80540'],
        ['Powder', '53540']
      ]);
      // set tooltip settings
      series
        .tooltip()
        .position('right')
        .anchor('left-center')
        .offsetX(5)
        .offsetY(0)
        .titleFormat('{%X}')
        .format('${%Value}');
      // set yAxis labels formatter
      chart.yAxis().labels().format('{%Value}{groupsSeparator: }');
      // set titles for axises
      chart.xAxis().title('Products by Revenue');
      chart.yAxis().title('Revenue in Dollars');
      chart.interactivity().hoverMode('by-x');
      chart.tooltip().positionMode('point');
      // set scale minimum
      chart.yScale().minimum(0);
      // set container id for the chart
      chart.container('container');
      // initiate chart drawing
      chart.draw();
    });
</script>
</body>
</html>             
<div id="anychart-embed-src-bar-charts-bar-chart" class="anychart-embed anychart-embed-src-bar-charts-bar-chart">
<script src="https://cdn.anychart.com/releases/v8/js/anychart-base.min.js"></script>
<script src="https://cdn.anychart.com/releases/v8/js/anychart-ui.min.js"></script>
<script src="https://cdn.anychart.com/releases/v8/js/anychart-exports.min.js"></script>
<div id="ac_style_src-bar-charts-bar-chart" style="display:none;">
html,
body,
#container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
</div>
<script>(function(){
function ac_add_to_head(el){
	var head = document.getElementsByTagName('head')[0];
	head.insertBefore(el,head.firstChild);
}
function ac_add_link(url){
	var el = document.createElement('link');
	el.rel='stylesheet';el.type='text/css';el.media='all';el.href=url;
	ac_add_to_head(el);
}
function ac_add_style(css){
	var ac_style = document.createElement('style');
	if (ac_style.styleSheet) ac_style.styleSheet.cssText = css;
	else ac_style.appendChild(document.createTextNode(css));
	ac_add_to_head(ac_style);
}
ac_add_link('https://cdn.anychart.com/releases/v8/css/anychart-ui.min.css');
ac_add_link('https://cdn.anychart.com/releases/v8/fonts/css/anychart-font.min.css');
ac_add_style(document.getElementById("ac_style_src-bar-charts-bar-chart").innerHTML);
ac_add_style(".anychart-embed-src-bar-charts-bar-chart{width:600px;height:450px;}");
})();</script>
<div id="container"></div>
<script>
anychart.onDocumentReady(function () {
  // create bar chart
  var chart = anychart.bar();
  chart.animation(true);
  chart.padding([10, 40, 5, 20]);
  chart.title('Top 10 Cosmetic Products by Revenue');
  // create bar series with passed data
  var series = chart.bar([
    ['Eyeshadows', '249980'],
    ['Eyeliner', '213210'],
    ['Eyebrow pencil', '170670'],
    ['Nail polish', '143760'],
    ['Lipstick', '128000'],
    ['Lip gloss', '110430'],
    ['Mascara', '102610'],
    ['Foundation', '94190'],
    ['Rouge', '80540'],
    ['Powder', '53540']
  ]);
  // set tooltip settings
  series
    .tooltip()
    .position('right')
    .anchor('left-center')
    .offsetX(5)
    .offsetY(0)
    .titleFormat('{%X}')
    .format('${%Value}');
  // set yAxis labels formatter
  chart.yAxis().labels().format('{%Value}{groupsSeparator: }');
  // set titles for axises
  chart.xAxis().title('Products by Revenue');
  chart.yAxis().title('Revenue in Dollars');
  chart.interactivity().hoverMode('by-x');
  chart.tooltip().positionMode('point');
  // set scale minimum
  chart.yScale().minimum(0);
  // set container id for the chart
  chart.container('container');
  // initiate chart drawing
  chart.draw();
});
</script>
</div>
<div id="anychart-embed-EBKyAEnu" class="anychart-embed anychart-embed-EBKyAEnu">
<script src="https://cdn.anychart.com/releases/v8/js/anychart-base.min.js"></script>
<script src="https://cdn.anychart.com/releases/v8/js/anychart-polar.min.js"></script>
<script src="https://cdn.anychart.com/releases/v8/js/anychart-exports.min.js"></script>
<script src="https://cdn.anychart.com/releases/v8/js/anychart-ui.min.js"></script>
<div id="ac_style_EBKyAEnu" style="display:none;">
html, body, #container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
</div>
<script>(function(){
function ac_add_to_head(el){
	var head = document.getElementsByTagName('head')[0];
	head.insertBefore(el,head.firstChild);
}
function ac_add_link(url){
	var el = document.createElement('link');
	el.rel='stylesheet';el.type='text/css';el.media='all';el.href=url;
	ac_add_to_head(el);
}
function ac_add_style(css){
	var ac_style = document.createElement('style');
	if (ac_style.styleSheet) ac_style.styleSheet.cssText = css;
	else ac_style.appendChild(document.createTextNode(css));
	ac_add_to_head(ac_style);
}
ac_add_link('https://cdn.anychart.com/releases/v8/css/anychart-ui.min.css');
ac_add_link('https://cdn.anychart.com/releases/v8/fonts/css/anychart-font.min.css');
ac_add_style(document.getElementById("ac_style_EBKyAEnu").innerHTML);
ac_add_style(".anychart-embed-EBKyAEnu{width:600px;height:450px;}");
})();</script>
<div id="container"></div>
<script>
anychart.onDocumentReady(function () {
    // create polar chart
    var chart = anychart.polar();
    // create data set on our data
    chartData = {
        rows: [
             ['Индия', 74],
       ['Extroversion', 62],
       ['Achievement', 66],
       ['Locus of Control', 77],
       ['Sales Interest', 82],
       ['Sales Belief', 58],
       ['Perseverance', 72],
       ['Competitive', 80],
       ['Empathy', 55],
       ['Social Intelligence', 62]
        ]
    };
    // sort data by X
    chart.sortPointsByX(true)
    // set series type
        .defaultSeriesType('column')
        // disable y-axis
        .yAxis(true)
        // set x-scale
        .xScale('ordinal');
  	chart.yScale('log');
  	chart.yScale().ticks().allowFractional(true);
  	//var ticksArray = [0, 10, 30, 100, 400, 800];
	//chart.yScale().ticks().set(ticksArray);
    // set chart data
    chart.data(chartData);
    chart.xGrid(true);
    //chart.yGrid(false);
    // set stack mod
    //chart.yScale().stackMode('value');
  	//chart.yScale().maximum(900);
  	//chart.yScale().ticks().interval(50);
    // set chart container id
    chart.container('container');
    // initiate chart drawing
    chart.draw();
});
</script>
</div>