Veera, as in any question about safety, it is subject to circumstances. The United States is very, very big, and even in the smallest country anything can happen.
Every complete answer here should include that last caveat.
The population for people of South Asian descent is almost 4 million people. The recent targets are reminiscent of other hate crimes, but are just that: atrocious hate crimes.
When traveling to any country, you should always stay in safe areas, surrounded by people, treating locals with respect, asking questions when you don't know protocol.
As a litmus test, you might flip the question: would a visibly identifable Western person be unsafe in India? Considering anti-Western terrorist groups exist there; foreign terrorist organizations, which are active in India, including Islamist extremist groups such as Harkat-ul-Jihad-i-Islami, Harakat ul-Mujahidin, Indian Mujahideen, Jaish-e-Mohammed, and Lashkar-e Tayyiba. Is a Westerner unsafe in India because of this?
Of course not - I am visibly Western and have loved my travels throughout India for years and all of the people I've met. The actions of some are not the actions of a country; and certainly not going to happen in populated tourist areas.
Always practice good personal security. Be aware of your surroundings (including customs and etiquette) and keep a low profile. Pickpocketing can be an issue in large cities (well, anywhere, but you know what I mean). Avoid dimly lit areas at night in dodgy neighborhoods, etc.
Let travel.se know your experience when you've visited, in chat! And, namaste!
EDIT: As stated in the comments to your question, do NOT hesitate to ask for help if you feel unsafe in any way. 911 is the calling code for emergency, and it will also give you the non-emergency number for the region you are in, which is a good number to keep in your phone.