Pyramid charts

by Vishalika

HTML

<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function () {
    var revenueChart = new FusionCharts({
        type: 'funnel',
        renderAt: 'chart-container',
        width: '500',
        height: '400',
        dataFormat: 'json',
       
        dataSource: {
    "chart": {
        "caption": "Sales distribution by Employee",
        "subcaption": "Jan 07 - Jul 07",
        "numberprefix": "$",
        "is3d": "1",
       // "issliced": "1",
        "showplotborder": "1",
        "plotborderthickness": "1",
        "plotbordercolor": "000000",
        "streamlineddata": "0",
        "showBorder": "0"
    },
    "data": [
        {
            "label": "Buchanan",
            "value": "50000"
        },
        {
            "label": "Callahan",
            "value": "49000"
        },
        {
            "label": "Davolio",
            "value": "63000",
            "color":"#000000"
        },
        {
            "label": "Dodsworth",
            "value": "41000"
        },
        {
            "label": "Fuller",
            "value": "74000"
        },
        {
            "label": "King",
            "value": "49000"
        },
        {
            "label": "Leverling",
            "value": "77000"
        },
        {
            "label": "Ling",
            "value": "27000"
        }
    ]
}
    }).render();
});