DevExtreme v25.1 is now available.

Explore our newest features/capabilities and share your thoughts with us.

Your search did not match any results.

JavaScript/jQuery Charts - Funnel Chart

DevExtreme Funnel displays data/information flow across different stages/periods. This demo displays conversion rates from website visits to product renewals.

Backend API
$(() => { $('#funnel').dxFunnel({ dataSource: data, title: { text: 'Website Conversions', margin: { bottom: 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(e) { return `<span style='font-size: 28px'>${ e.percentText }</span><br/>${ e.item.argument}`; }, }, }); });
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <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=5.0" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script>window.jQuery || document.write(decodeURIComponent('%3Cscript src="js/jquery.min.js"%3E%3C/script%3E'))</script> <link rel="stylesheet" type="text/css" href="https://cdn3.devexpress.com/jslib/25.1.5/css/dx.light.css" /> <script src="js/dx.all.js?v=25.1.5"></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"></div> </div> </body> </html>
#funnel { height: 440px; }
const 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 }, ];

This demo configures the following objects:

  • title
    Specifies component title.
  • export
    Configures export settings. Our Funnel Chart supports the following export formats: PNG, PDF, JPEG, SVG, and GIF.
  • tooltip
    Specifies item tooltips.
  • label
    Configures item labels.
  • item
    Customizes item appearance.
NOTE

Use the DevExpress BI Dashboard to embed interactive business intelligence into your next web app.

Our Web Dashboard is a data analysis UI component you can embed into your ASP.NET Core or Angular, React, and Vue applications with a .NET backend. DevExpress Dashboards allow you to display multiple inter-connected data analysis elements such as grids, charts, maps, gauges, and others: all within an auto-arranged layout.

DevExpress Dashboard allows you to deploy an all-in-one solution and switch between Viewer and Designer modes directly within the web client (includes built-in adaptive layouts for tablet & mobile devices).

DevExpress is available as part of a Universal subscription.

Get Started with DevExpress BI Dashboard | Explore Demos