Code could be somewhat simplified by replacing json.php and its security checks and special location in index.php with a direct echo of the relevant JSON's contents using values in the vega data section (of which I was probably unaware when I wrote the treemap code).
Code could be somewhat simplified by replacing json.php and its security checks and special location in index.php with a direct echo of the relevant JSON's contents using values in the vega data section (of which I was probably unaware when I wrote the treemap code).