We have a requirement to draw a number line much similar to what is shown over here. The scope is as follows.
- Draw lines as specified in the above page (with a range of numbers)
- Ability to ask for user input (say a number at a certain point or a number which is either before or after a certain number)
- Provide different colors for the line / the numbers
What kind of abstractions are available which will help us to do this in a simple fashion? (html5 canvas or jquery or javascript or any other framework which can generate HTML code)
See Question&Answers more detail:os