FusionCharts - Gallery Example - Bar 2D Chart

Created using FusionCharts Suite XT - www.fusioncharts.com

HTML

<script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/themes/fusioncharts.theme.fusion.js"></script>
<!-- Simple implementation of the Bar 2D chart -->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function() {
  var topStores = new FusionCharts({
      type: 'scrollbar2d',
      renderAt: 'chart-container',
      width: '500',
      height: '400',
      dataFormat: 'json',
      dataSource: {
    "chart": {
        "theme": "fusion",
        "caption": "Top 25 NPM Packages for Node.js Developers",
        "subCaption": "March 2019",
        "plottooltext": "$datavalue Downloads",
        "YAxisname": "Number of Downloads",
        "XAxisname": "Packages"
    },
    "categories": [
        {
            "category": [
                {
                    "label": "Commander.js"
                },
                {
                    "label": "Async.js"
                },
                {
                    "label": "Request – Simplified HTTP Client"
                },
                {
                    "label": "Express"
                },
                {
                    "label": "WebPack"
                },
                {
                    "label": "Underscore"
                },
                {
                    "label": "React"
                },
                {
                    "label": "JSDom"
                },
                {
                    "label": "Cheerio"
                },
                {
                    "label": "Mocha"
                },
                {
                    "label": "Marked"
                },
                {
                    "label": "LESS"
                },
                {
                    "label": "Morgan"
                },
                {
                    "label": "Karma"
                },
                {
                    "label": "MongoDB Node.JS Driver"
                },
                {
                    "label": "Nodemailer"
                },
                {
                    "label": "Passport"
                },
                {
                    "label": "Browserify"
                },
                {
                   ...