Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


    <script src=""></script>
    <script src=""></script>
    <style type="text/css">

    <div id="container"></div>


                html, body, #container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;


                anychart.onDocumentReady(function () {

  // our data from bulbapedia
  var data1 = [
    {x: "HP", value: 39},
    {x: "Attack", value: 52},
    {x: "Defense", value: 43},
    {x: "Special Attack", value: 60},
    {x: "Special Defense", value: 50},
    {x: "Speed", value: 65},

  var data2 = [
    {x: "HP", value: 45},
    {x: "Attack", value: 49},
    {x: "Defense", value: 49},
    {x: "Special Attack", value: 65},
    {x: "Special Defense", value: 65},
    {x: "Speed", value: 45},

  var data3 = [
    {x: "HP", value: 44},
    {x: "Attack", value: 48},
    {x: "Defense", value: 65},
    {x: "Special Attack", value: 50},
    {x: "Special Defense", value: 64},
    {x: "Speed", value: 43},

  // create radar chart
  var chart = anychart.radar();
  // set chart yScale settings

  // create first series
  chart.area(data1).name('Charmander').markers(true).fill("#E55934", 0.3).stroke("#E55934")
  // create second series
  chart.area(data2).name('Bulbasaur').markers(true).fill("#9BC53D", 0.3).stroke("#9BC53D")
  // create third series
  chart.area(data3).name('Squirtle').markers(true).fill("#5BC0EB", 0.3).stroke("#5BC0EB")
  // set chart title
  chart.title("Starter Pokemon Comparison Chart")
  // set legend
  // color alternating cells
  chart.yGrid().palette(["gray 0.1", "gray 0.2"]);

  // set container id for the chart
  // initiate chart drawing