Write your custom SQL query In the SQL Query text box
/modules/mod_choropleth_map/data/
Under the Chart Settings Tab