Bar, line and area chart - Bar, line and area chart

Bar, line and area chart showing US Economy by industry

keyboard_arrow_leftGo back
Open in JSFiddle
JavaScript
chart= new FacetChart({
    "series": [
        {
            "name": "GDP by industry, max 2016",
            "data": {
                "field": "2012",
                "aggregation": "max"
            },
            "style": {
                "fillColor": "#b0dc0b"
            },
            "type": "line"
        },
        {
            "name": "GDP by industry, average",
            "data": {
                "field": "value",
                "aggregation": "avg"
            },
            "style": {
                "fillColor": "#2fc32f"
            },
            "type": "columns"
        },
        {
            "name": "GDP by industry, min 2006",
            "data": {
                "field": "2006",
                "aggregation": "min"
            },
            "style": {
                "lineColor": "#eab404"
            },
            "type": "line"
        }
    ],
    "container": "demo",
    "data": [
        {
            "url": "\/data\/us-economy.json"
        }
    ],
    "toolbar": {
        "fullscreen": true,
        "enabled": true
    },
    "interaction": {
        "resizing": {
            "enabled": false
        }
    }
})
HTML
      <script src="https://cdn.zoomcharts-cloud.com/1/latest/zoomcharts.js"></script>
      <div id="demo"></div>
                  
Data

              
//