Area chart - Area chart

Area chart showing US Economy by industry

keyboard_arrow_leftGo back
Open in JSFiddle
JavaScript
chart= new FacetChart({
    "series": [
        {
            "name": "GDP by industry, $",
            "data": {
                "aggregation": "sum"
            },
            "style": {
                "fillColor": "#2fc32f"
            },
            "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

              
//