You might be interested in Chart.js ( - it does the visualisation part, if you could do the search part.


-----Original Message-----
From: Code for Libraries <[log in to unmask]> On Behalf Of Vinit Kumar
Sent: Thursday, 7 November 2019 6:17 PM
To: [log in to unmask]
Subject: [CODE4LIB] n-gram visualisation

Dear Code4Libers,

I have data with the following structure:
ngrams   2009    2010  2011 2012   2013 2014 2015
library        22        3          32     32       35      21       21
technology  3         4          43     32       30     43      32
and so on

Is it possible to visualise this data in a similar manner as Google N-gram viewer displays? Wherein one can put the keyword in a search bar and the visualisation displays the year wise trend of that keyword in the corpus based on the above structured data.
Any pointers or tools would be of help.
Thanking you in anticipation.

Vinit Kumar, Ph.D.
Assistant Professor,
Department of Library and Information Science Babasaheb Bhimrao Ambedkar University, Rae Bareilly Road, Lucknow, India 226025


"The contents of this e-mail (including any attachments) may be confidential and/or subject to copyright. Any unauthorised use, distribution, or copying of the contents is expressly prohibited. If you have received this e-mail in error, please advise the sender by return e-mail or telephone and then delete this e-mail together with all attachments from your system."