Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
                
                Forum's Guidelines
            
how can we form mysql data variables as dynamic to tree map using php codigniter
$data = [
    ['Location', 'Parent', 'Market trade volume (size)', 'Market increase/decrease (color)'],
    ['Global',    null,                 0,                               0],
   // ['America',   'Global',             0,                               0],
    //['Europe',    'Global',             0,                               0],
    ['Asia',      'Global',             0,                               0],
   // ['Australia', 'Global',             0,                               0],
   // ['Africa',    'Global',             0,                               0],
   /* ['Brazil',    'America',            11,                              10],
    ['USA',       'America',            52,                              31],
    ['Mexico',    'America',            24,                              12],
    ['Canada',    'America',            16,                              -23],*/
    /*['France',    'Europe',             42,                              -11],
    ['Germany',   'Europe',             31,                              -2],
    ['Sweden',    'Europe',             22,                              -13],
    ['Italy',     'Europe',             17,                              4],
    ['UK',        'Europe',             21,                              -5],*/
    /*['China',     'Asia',               36,                              4],
    ['Japan',     'Asia',               20,                              -12],*/
    
    ['India',     'Asia',               40,                              63],
    ['Telangana',      'India',               4,                               34],
    ['Andhra Pradesh',  'India',               1,                               -5],
    ['hyderabad',    'Telangana',               12,                              24],
    ['Warangal',      'Telangana',               18,                              13],
    ['Nizamabad',  'Telangana',               11,                              -52],
    ['wuerth',     'hyderabad',             21,                              0],
    ['karnataka', 'hyderabad',             30,                              43],
    ['lucky',     'hyderabad',             12,                              2],
    ['autozilla',     'hyderabad',             10,                              12],
    ['Retailer',     'hyderabad',             8,                               10]
];
    
                                Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo