A bill that would increase the tax rate on recreational marijuana from 12 percent to 28 percent sparked quite a bit of controversy when it was introduced in the Massachusetts House last Thursday.

Advocates who want to preserve the legalization law approved by voters were apoplectic, saying the tax rate pushed by the House would contribute to illegal sales by jacking up the price of legal pot. Supporters of the House measure claim it would keep marijuana out of the hands of minors by sharply limiting advertising and putting more restrictions on edibles — food with marijuana cooked in.

The Massachusetts Senate has put forward its own version of the bill, with tax rates at 12 percent. Lawmakers aim to send a final version to the governor by the end of the month, but in the meantime, here is a look at where tax rates stand in the other states that have legalized marijuana and the revenue they have brought in.