twoHelixestwoHelixes Start free

Datasets / Curated (shared with askfelix)

City air quality

Monthly PM2.5, NO2 and ozone for world cities with temperature and respiratory visits.

96 rows11 columns Curated (shared with askfelix)

Worked examples

Each of these is a real run: the pipeline picked the columns, shaped the rows and chose the form. Open the trace to see what it decided and why.

Cities ranked by average PM2.5

Monthly observations are averaged by city and sorted from the most polluted, so the ranking is not dominated by a single month.

Average PM2.5 by city0204060DelhiTokyoCairoLondonSao PauloMexico CityChicagoLos AngelesPm25 Ug M3
which cities have the worst PM2.5? — 8 rows charted from 96, drawn as a hbar
How it decided
Finding the data823 ms

City air quality: 96 rows, 11 columns. city and pm25_ug_m3; the ranking uses all twelve monthly observations.

Shaping the data3 ms

96 rows in, 8 out across 2 columns. Monthly observations are averaged by city and sorted from the most polluted, so the ranking is not dominated by a single month.

Choosing the chart3 ms

hbar. City names are labels and PM2.5 is one measure, so sorted horizontal bars read best.

Applying defaults1 ms

Palette, spacing, axis titles and legend placement applied. 0 issues found.

Schema

11 columns, typed as the pipeline sees them — which is how it knows what can go on a time axis and what can be summed.

Column TypeExample
monthtext2025-01-01
citytextLos Angeles
countrytextUSA
climate_zonetextcoastal
latitudenumber34.05
longitudenumber-118.24
avg_temp_cnumber18.0
pm25_ug_m3number9.0
no2_ppbnumber19.0
ozone_ppbnumber28.0
respiratory_visitsnumber47

First 8 rows

monthcitycountryclimate_zonelatitudelongitudeavg_temp_cpm25_ug_m3no2_ppbozone_ppbrespiratory_visits
2025-01-01Los AngelesUSAcoastal34.05-118.2418.09.019.028.047
2025-01-01ChicagoUSAinland41.88-87.6318.913.517.129.253
2025-01-01Mexico CityMexicohighland19.43-99.1319.718.019.230.462
2025-01-01Sao PauloBrazilsubtropical-23.55-46.6320.622.521.331.670
2025-01-01LondonUKtemperate51.51-0.1321.427.023.432.879
2025-01-01CairoEgyptdesert30.0431.2422.239.525.534.0101
2025-01-01DelhiIndiamonsoon28.6177.2123.154.031.635.2128
2025-01-01TokyoJapanhumid35.68139.6923.940.533.736.4107