an apparatus and method for golf swing analysis is described using a first microprocessor , a three - axis accelerometer capable of transmitting linear acceleration data to the first microprocessor , a three - axis gyroscope capable of transmitting angular velocity data to the first microprocessor , data processing , a radio transmitter for transmitting processed data , and a housing for holding the components , which attaches to a golf club . a three - axis magnetometer capable of transmitting directional orientation data to the first microprocessor is used to allow a user to choose a target line . communication occurs between the apparatus and a portable device with a radio receiver , memory and a computer program that processes the data into graphical data and statistical data and displays the swing graphically after a user swings the golf club . the user will be able to analyze and try to improve his or her golf swing .