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.


    <h1>At what day people celebrate St. Nicholas?</h1>
    <script type="text/javascript" src=""></script>
    <script type="text/javascript">
      google.charts.load('current', {
        // Note: you will need to get a mapsApiKey for your project.
        // See:
        'mapsApiKey': 'AIzaSyBYTQKWWv__qzURorGvb97JnhcWBBP-8TA'

      function drawRegionsMap() {
        var data = google.visualization.arrayToDataTable([
['United States',6],
['Newport News',6],
['St. Louis',6],
['Czech Republic',6],

        var options = {};

        var chart = new google.visualization.GeoChart(document.getElementById('regions_div'));

        chart.draw(data, options);
    <div id="regions_div" style="width: 900px; height: 500px;"></div>
St. Nicholas       15<br>
Nikoljdan           2<br>Sinterklaas         2<br>Mikuláš             2<br>Sankt Nikolaus      1<br>Miklavž             1<br>Nikulden            1<br>Nikolobárbara       1<br>Samichlaus          1<br>San Nicolás         1<br>Nikolo              1<br>San Nikola          1<br>Shen'Kollë          1<br>Kleeschen           1<br>Svyatyi Mykolaj     1<br>Sfântul Nicolae     1<br>San Nicola          1<br>Saint Nicolas       1<br>Mikulás             1<br>Sveti Nikola        1
    Try it yourself with Sample Data:
    function drawRegionsMap() {
        var data = google.visualization.arrayToDataTable([
          ['Country', 'Popularity'],
          ['Germany', 200],
          ['United States', 300],
          ['Brazil', 400],
          ['Canada', 500],
          ['France', 600],
          ['RU', 700]