plot sim data from db