Analysis block between query and visualization

In many situations query result is not the end result we want to plot. Python as scripting language can sit between query and visualization and process query results and prepare visualization input.