FusionCharts JavaScript Charting Library

4.2.2 · active · verified Sun Apr 19

FusionCharts is a comprehensive JavaScript charting library that provides over 100 chart types and 2,000+ geographical maps for web and mobile applications. It includes specialized modules like FusionTime for time-series charts, FusionWidgets for gauges and real-time visualizations, PowerCharts for advanced statistical charts, and FusionMaps for choropleth geo maps. All visualizations are interactive and animated, rendering primarily in SVG, with VML support for older Internet Explorer versions. The current stable version is 4.2.2, released in April 2026, indicating an active development and release cadence with regular improvements and fixes. Key differentiators include its extensive chart and map catalog, its support for legacy browser environments, and its modular architecture allowing selective loading of chart types and themes.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to set up, import, and render a basic 2D column chart using FusionCharts ES modules and a specific theme. It covers registering chart types and themes, configuring data sources, and rendering the chart to a DOM element.

import FusionCharts from 'fusioncharts/core';
import Column2D from 'fusioncharts/charts/fusioncharts.charts';
import FusionTheme from 'fusioncharts/themes/fusioncharts.theme.fusion';

// Add required chart types and themes as dependencies to FusionCharts
FusionCharts.addDep(Column2D);
FusionCharts.addDep(FusionTheme);

// Prepare chart configuration
const chartConfig = {
    type: 'column2d', // Specify the chart type
    renderAt: 'chart-container', // ID of the DOM element to render the chart into
    width: '600', // Width of the chart
    height: '400', // Height of the chart
    dataFormat: 'json', // Data format to be used
    dataSource: {
        chart: {
            caption: 'Monthly Revenue', // Chart caption
            subCaption: 'Last 5 months', // Chart sub-caption
            xAxisName: 'Month', // X-axis title
            yAxisName: 'Amount (USD)', // Y-axis title
            numberPrefix: '$', // Prefix for numbers on y-axis
            theme: 'fusion' // Apply the Fusion theme
        },
        data: [
            { label: 'Jan', value: '420000' },
            { label: 'Feb', value: '810000' },
            { label: 'Mar', value: '720000' },
            { label: 'Apr', value: '550000' },
            { label: 'May', value: '910000' }
        ]
    }
};

// Assume there's a div in your HTML like: <div id="chart-container"></div>
// Create a new FusionCharts instance
const myChart = new FusionCharts(chartConfig);

// Render the chart into the specified DOM element
myChart.render();

console.log('FusionCharts instance created and rendering initiated.');

view raw JSON →