\(\chi^2=\ \Sigma_i\frac{m_i-\ d_i}{\sigma_i}\) this was written by painfully clicking on the equation editor above (the symble that looks like $x^2y$ on the toolbar)

Results

here are your results. And finally here is an interactive figure. It is inserted as an i-frame (html code) this is a Carto map of anumal abuse 311 calls I made, and published on carto (needs to be public to show up here!) and I got the embed html code on carto, saved it to a file, loaded it here.