There is type 1, also called juvenile diabetes which is the insulin dependent kind. Then there is type 2, the adult onset kind, which usually strikes the obese and it means you are insulin resistant.
Type 1's cause is not understood. Type 2 is clearly from obesity and bad diet.