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>
<script src=""></script>
<script src=""></script>

<!-- Flag sprites service provided by Martijn Lafeber, -->
<link rel="stylesheet" href="" />

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



                #container {
  min-width: 310px;
  max-width: 800px;
  height: 600px;
  margin: 0 auto;
} ?>


                Highcharts.chart('container', {
  colors: ['#FFD700', '#C0C0C0', '#CD7F32'],
  chart: {
    type: 'column',
    inverted: true,
    polar: true
  title: {
    text: 'Winter Olympic medals per existing country (TOP 10)'
  tooltip: {
    outside: true
  pane: {
    size: '85%',
    endAngle: 270
  xAxis: {
    tickInterval: 1,
    labels: {
      align: 'right',
      useHTML: true,
      allowOverlap: true,
      step: 1,
      y: 4,
      style: {
        fontSize: '12px'
    lineWidth: 0,
    categories: [
      'Norway <span class="f16"><span id="flag" class="flag no">' +
      'United States <span class="f16"><span id="flag" class="flag us">' +
      'Germany <span class="f16"><span id="flag" class="flag de">' +
      'Canada <span class="f16"><span id="flag" class="flag ca">' +
      'Austria <span class="f16"><span id="flag" class="flag at">' +
      'Sweden <span class="f16"><span id="flag" class="flag se">' +
      'Switzerland <span class="f16"><span id="flag" class="flag ch">' +
      'Russia <span class="f16"><span id="flag" class="flag ru">' +
      'Netherlands <span class="f16"><span id="flag" class="flag nl">' +
      'Finland <span class="f16"><span id="flag" class="flag fi">' +
  yAxis: {
    lineWidth: 0,
    tickInterval: 25,
    reversedStacks: false,
    endOnTick: true,
    showLastLabel: true
  plotOptions: {
    column: {
      stacking: 'normal',
      borderWidth: 0,
      pointPadding: 0,
      groupPadding: 0.15
  series: [{
    name: 'Gold medals',
    data: [132, 105, 92, 73, 64, 57, 55, 47, 45, 43]
  }, {
    name: 'Silver medals',
    data: [125, 110, 86, 64, 81, 46, 46, 38, 44, 63]
  }, {
    name: 'Bronze medals',
    data: [111, 90, 60, 62, 87, 55, 52, 35, 41, 61]