FrankensteinVariorum / fv-visualization

Visualizing changes across editions of Frankenstin
MIT License
0 stars 0 forks source link

visualize text difference from a chosen reference witness #5

Closed mdlincoln closed 5 years ago

mdlincoln commented 5 years ago

show each witness side by side with per-app changes or addition/subtraction highlighted

mdlincoln commented 5 years ago

Very sketchy implementation of an idea to set a given "reference" witness, and then visualize how other witnesses have either additions to their apps or deletions in relation to the selected witness. I'm not convinced this is really intuitive (green = to get to the target witness from the reference witness, the target witness has ADDED words in that app, red = to get to the reference witness from the target witness, you'd need to DELETE words) but it's a starting point.

The visual layout is a pseudo-typesetting created by the ggpage R package. This bears NO relation to any of the layout/formatting info in the TEI, it's just an experiment to create a visual that captures more of the comparative word lengths of the apps. The space taken up by any of the pseudo-text chunks are generated based on the actual character counts of words in the apps. I found it a bit more concrete than trying to visualize text change in something like a heatmap, but I wouldn't try to use this for a finished presentation.

Comparing the fThomas witness to the others:

comp_fthomas

Comparing the f1831 witness to the others:

comp_f1831

mdlincoln commented 5 years ago

one quick to-do: make sure each sub-plot has a consistent number of rows so it's easier to track the difference in total text lengths and text position.

mdlincoln commented 5 years ago

These and others can be seen in https://github.com/PghFrankenstein/fv-visualization/tree/master/output