Dataviz: the Bridge between NLP and History ?
What a couple of days !
It has been a real pleasure to welcome and get to know Benjamin Bach from Edinburgh University. A two-day workshop with participants from quite different disciplines (from history to neuro-linguistics) and different levels of “computer literacy”. For sure it was very challenging invitation for Benjamin who accepted it and did a great job at taking us on this dataviz journey.
From the early (yet surprisingly relevant) theories of Jacques Bertin to very pratical exercices of questioning, sketching and presenting our own datasets, with a hands-on session on the Vistorian and other tools, I now have a lot to digest !
As a realistic dataset, I chose to use the Named Entities extracted from the Boorman Dictionary (those from my previous post) and focused on locations and time. This took me away from NLP and closer to the core objectives of my dear historian colleagues. I left linguistics structures and other machine learning abstractions aside for a moment and tried to figure out how to make things visible in a way which would be useful for the project.
No need for suspense! I did not discover the ultimate and perfect visualization fashion and tool for all our research questions. Nevertheless, Benjamin left us many pieces of advice, good practices, take-home messages and tools to try. We are also looking forward to have more collaboration with him to co-design new ways to explore and present our data.
Concerning the tools, let me try to sum up my temporary conclusions. Firstly we have to find a balance between looking for off-the-shelf tools which can’t fit all our needs, and jumping headlong into writing our own tool from scratch. On the one hand, Padagraph and the Vistorian are great tools, but they may not fit all our need (in other words, we should avoid the “when all you have is a hammer…” mistake). On the other hand, even if I could theoretically implement everything I can sketch, using libs like D3js, there may be a better usage of my time, especially at a stage when we are just exploring a variety of ideas. For that purpose, I’m now looking at higher level libraries like Plot.ly and Vegas. Both happen to be usable from Scala Notebooks to easily produce online editable visualizations for me and my colleagues. I also went back into R-Studio and I’m discovering Shiny, which may be a good option go beyond sketches when brainstorming with colleagues about what we want to visualize. Once we get something satisfying, it will still be time to turn to D3js to implement more convenient interactions for a broader audience.
Cite this blog post
Pierre Magistry (2019, March 12). Dataviz: the Bridge between NLP and History ? Elites, Networks and Power in modern China. Retrieved February 29, 2024, from https://doi.org/10.58079/o8kd