Your search did not match any results.
Funnel and Pyramid Charts

Funnel Chart

Documentation

The DevExtreme HTML5 JavaScript Funnel Chart visualizes a value at different stages. It helps assess value changes throughout these stages and identify potential issues. In this demo, the Funnel shows the percentage of website users that performed a certain action: downloaded a trial, contacted support, purchased a subscription, etc. The chart shows that most users decided not to subscribe after contacting support. You can use this information to make a decision, for example, to provide extra training for the support team.

Copy to CodePen
Apply
Reset
window.onload = function() { var viewModel = { funnelOptions: { dataSource: data, title: { text: "Website Conversions", margin: 30 }, argumentField: "argument", valueField: "value", palette: "Soft Pastel", "export": { enabled: true }, tooltip: { enabled: true, format: "fixedPoint" }, item: { border: { visible: true } }, label: { visible: true, position: "inside", backgroundColor: "none", customizeText: function(e) { return "<span style='font-size: 28px'>" + e.percentText + "</span><br/>" + e.item.argument; } } } }; ko.applyBindings(viewModel, document.getElementById("demo-container")); };
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>DevExtreme Demo</title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <script src="js/jquery-3.1.0.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.4.0/knockout-min.js"></script> <link rel="stylesheet" type="text/css" href="https://cdn3.devexpress.com/jslib/17.2.3/css/dx.spa.css" /> <link rel="stylesheet" type="text/css" href="https://cdn3.devexpress.com/jslib/17.2.3/css/dx.common.css" /> <link rel="dx-theme" data-theme="generic.light" href="https://cdn3.devexpress.com/jslib/17.2.3/css/dx.light.css" /> <script src="https://cdn3.devexpress.com/jslib/17.2.3/js/dx.all.js"></script> <script src="data.js"></script> <link rel="stylesheet" type="text/css" href="styles.css" /> <script src="index.js"></script> </head> <body class="dx-viewport"> <div class="demo-container"> <div id="funnel" data-bind="dxFunnel: funnelOptions"></div> </div> </body> </html>
#funnel { height: 440px; }
var data = [ { argument: "Visited the Website", value: 9152 }, { argument: "Downloaded a Trial", value: 6879 }, { argument: "Contacted Support", value: 5121 }, { argument: "Subscribed", value: 2224 }, { argument: "Renewed", value: 1670 } ];