Line chart - Line Chart with smoothing

Line 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"
            },
            "type": "line",
            "style": {
                "smoothing": true
            }
        }
    ],
    "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

              
//