I think autism mainly has a genetic basis, though environmental exposure to different chemicals in utero could play a factor as well. I'm kind of sitting on the fence about the whole vaccination thing, because my dad is definitely on the spectrum, and my grandmother on his side may have some mild traits, which explains the genetic side of things, but my autistic traits became more prominant after I recieved a vaccination when I was a year old, allegedly. I think that vaccines may be a "trigger" for autistic traits in people who have certain genes.
Now, do I think people should stop vaccinating their kids? Hell no. Vaccinations are important, and with all these parents refusing to vaccinate their kids nowadays, we're seeing a comeback for all sorts of horrible diseases that we previously thought we eliminated, like whooping cough. I believe these diseases pose a much bigger threat to society than autism ever will. Unfortunately, it seems like large portions of the neurotypical hivemind would rather deal with large numbers of people becoming sick and dying, than a few rare individuals turning out to be autistic. I really think there should be a massive societal shift to better accept people on the spectrum, as well as people with other neurological conditions. We can accomplish great things, but we may just need some help sometimes. A math prodigy who is incapable of learning how to drive is still a math prodigy.