               from = breakpoints[i];
                                    to = breakpoints[i + 1];
                                    if (document.getElementById("interval_type-select").value !== 'quantiles') {
                                        try {
                                            from = from.toPrecision(3);
                                            if (from.length === 4 && from.slice(3) === '0') {
                                                if (from.slice(2, 3) === '0') {
        