Creating dot charts

That's something nobody can tell without knowing your data and your code. So it would be good if you could share a bit of your data and the code you have been trying to use.
You can have a look at this guide which explains very well how to do so.