Help understanding the synthesis of HOCl My goal is to add acetic acid to sodium hypochlorite to reach a ph of between 3.8-5.5 and produce hypochlorous acid. I’ll be using bromocresol green as a ph indicator. I was reading about how to synthesize it from an article here by the acidification of hypochlorite, which was noted to be the safest and most controlled way. My initial question was how do I calculate how much acid is needed to reach the specified pH range. However, other users noted that this may dangerously produce chlorine gas, in which case this experiment should be executed under a fume hood with care and proper safety precautions.
Figure 2 from the article notes the production of various byproducts of the reaction at different pH levels. It appears that chlorine gas is produced at both low pH and at high pH, but it is a bit confusing since it is overlapping with another line making it hard to understand.

Ideally, I'd like to reduce any production of Cl$_2$. Is there a way to do that? Anything to help me better understand this reaction is appreciated.
For the moderators,
I don't understand why this question was so poorly received and closed. It clearly lies within the allowed topics listed in the help center. Even though my question was about a potentially dangerous experiment, it is an important one nonetheless. I was able to learn an important detail concerning the safety of the experiment from this post. If anyone else was to follow down the same path as me, they should be able to google about it, see this question, and learn of the safety concerns as well. I think this question should be reopened to educate people instead of being heavily downvoted because OP is an inexperienced chemist trying a dangerous experiment, because that is not the case.
Chlorine bleach is commonly produced via the chloralkali process as a highly alkaline mixture of sodium hypochlorite (NaOCl) and hydroxide (NaOH) along with some unreacted NaCl as well.
It's usually dangerous to lower the pH of chlorine bleach, as you may inadvertently generate chlorine gas
$$ \ce{2H+(aq) + OCl- (aq) + Cl- (aq) \rightleftharpoons Cl2(g) + H2O (\ell)} $$
$$ \ce{4H+(aq) + 4OCl- (aq) \rightleftharpoons  2Cl2(g) + O2(g) + 2H2O (\ell)} $$
And that is why it is kept at a high pH, to help favor the left side of the above equilibria.