(KDVR) — Wildfires in Canada have caused poor air quality and smoky skies across Chicago and the Midwest.

That’s according to IQAir’s Air Quality and Pollution City Ranking, which is updated hourly, the air pollution advocacy organization explains.

As of Tuesday, Chicago was ranked the worst in the world due to wildfire smoke.

IQAir’s live Air Quality and Pollution City Ranking ranks cities based on AQI, or Air Quality Index points. Cities/areas are assigned a series of ranges for how healthy or unhealthy the air currently is.

How to check the air quality where you live

To find your city/area, you’ll need to allow IQAir to access your location. Once the system locates you, it’ll give you your area’s AQI, in addition to which main pollutant is contributing to the pollution level.

Ranges include: Good, Moderate, Unhealthy for Sensitive Groups, Unhealthy, Very Unhealthy, and Hazardous. New York City’s air on Wednesday is the only city on the entire list given a Hazardous air rating.

Aside from New York City, the next highest U.S. city on the air quality ranking is Detroit, Michigan (23), which claimed “moderate” air quality levels Wednesday evening. India dominated the top 5, with the cities of Delhi and Kolkata ranking third and fourth, respectively, and claiming Unhealthy air ratings.

The second highest city on the list is Dubai, UAE, whose air was ranked unhealthy.

Is the smoke dangerous?

Will the level of smoke be dangerous for your health? Here’s what the Colorado Department of Public Health and Environment said people everywhere should know.

“If smoke is thick or becomes thick in your neighborhood, you may want to remain indoors. This is especially true for those with heart disease, respiratory illnesses, the very young, and the elderly. Consider limiting outdoor activity when moderate to heavy smoke is present. Consider relocating temporarily if smoke is present indoors and is making you ill,” CDPHE said.

If visibility is less than 5 miles in your neighborhood, the smoke has reached levels that are unhealthy, and you should stay indoors.

You can visit the Centers for Disease Control and Prevention for more information on wildfire smoke hazards.