Simulation to show electric field lines of finite line charge. Here
you can see the variation of lines near the center as compared to that at
ends. There is a test charge as well whose location can be changed in
space to show direction of electric field at any point.
You can also change length of line charge and show Gausssian surface
near the center to calculate Electric field for long line charge close to