JSFiddle

  • Conical gradient generator #3 is the latest revision

    I slightly altered the code so that it is actually a cone instead of a square, fixing the slightly-buggy corners' fill.

    var canvas = document.createElement('canvas'),
        d = canvas.width = canvas.height = 200,
        ctx = canvas.getContext('2d');
    
    document.body.appendChild(canvas);
    
    ctx ...
  • Conical gradient generator #3 is the latest revision

    No-Library (pure JS), HTML, CSS, JavaScript

    var canvas = document.createElement('canvas'),
        d = canvas.width = canvas.height = 200,
        ctx = canvas.getContext('2d');
    
    document.body.appendChild(canvas);
    
    ctx ...
  • Simple Flot Pie Chart #4 is the latest revision

    Lo-Dash 2.2.1, HTML, CSS, JavaScript

    (function(){
    	var data = [
            { label: "Bus(ses)",  data: 6},
            { label: "SUV",  data: 5},
            { label: "Electric",  data: 5},
            { label: "Air/planes",  data ...