We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Overview

JavaScript Funnel Chart is like a pyramid, with two parts, the higher part called head and the lower part, neck. JavaScript Funnel chart is used to represent stages in a sales process and show the amount of potential revenue for each stage.


Custom neck

Customize the height and width of the funnel to change the look and feel. Changing the width and height of the neck to zero makes funnel chart look like an inverted pyramid.


Data label

Data labels display information about data points. Add a template to display data labels with HTML elements such as images, DIV, and spans for more informative data labels. You can rotate a data label by its given angle.


Point explode

Data points can be exploded on rendering and on mouse click.


Grouped points

Group the points in a JavaScript Funnel Graph based on certain conditions. The grouped slices can be split into individual points by clicking the slice.


Customization

Customize the look and feel of the funnel chart using built-in APIs.


JavaScript Funnel Chart Code Example

Easily get started with JavaScript Funnel Chart using a few simple lines of HTML and JS code example as demonstrated below. Also explore our JavaScript Funnel Chart Example that shows you how to render and configure the chart.

<!DOCTYPE html>
<html>
<head></head>
<body> 
    <div id="container">
     <div id="Chart"></div>
    </div>
</body>
</html>
import { AccumulationChart, FunnelSeries} from '@syncfusion/ej2-charts';
Chart.Inject(AccumulationChart, FunnelSeries);

let chart: AccumulationChart = new AccumulationChart({
    series:[{
         type: 'Funnel',
            dataSource: [
                { x: 'United States', y: 45, text: 'USA', fill: '#00226C' },
                { x: 'Australia', y: 53, text: 'AUS: 14%', fill: '#0450C2' },
                { x: 'China', y: 56, text: 'CHN', fill: '#0073DC' },
                { x: 'India', y: 61, text: 'IND', fill: '#0D98FF' },
                { x: 'Japan', y: 13, text: 'JPN', fill: '#9CD9FF' },
                { x: 'United Kingdom', y: 71, text: 'UK', fill: '#0450C2' }
            ],
            xName: 'x',
            yName: 'y',
            }
],
}, '#Chart');

Learning Resources

UG

JavaScript Funnel Chart User Guide

Learn the available options to customize JavaScript funnel chart.

API

JavaScript Funnel Chart API Reference

Explore the JavaScript funnel chart APIs.


85+ JAVASCRIPT UI CONTROLS

Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon