Visual chart for queried data

Forgot to update.
This should be the solution