The aim of these visualisations is to use the XML files from the New Variorum Shakespeare edition of The Comedy of Errors to create a resource for exploring patterns of speeches by and mentions of characters in Shakespeare's work. Visualising the frequency, extent, and position of dialogue relating to a particular character presents users with a simple and immediate measure of that character’s prominence within the play. The tool enables users to select and visualise individual characters’ involvement, producing a novel means of exploring large-scale structural, narrative, or character-focused patterns within the text.

Personæ

A Character-Visualisation Tool for Dramatic Texts

Highlight Speakers
Toggle Checkboxes

Value of the Tool

This tool is intended to facilitate character-based analysis and reveal structural patterns at the scale of the play. It is primarily exploratory, and is designed to allow users to customise the visualisation according to their particular interests or to follow a more speculative and disinterested reading of the play’s character-based features.

This deliberate aim emerged from the heuristic development process described below, and a desire to produce an extensible exploratory tool for dramatic texts. From an initial focus on using digital tools to visualise the tangling and disentangling of character names and identities in The Comedy of Errors, our interest broadened into exploring the potential for using character data to visualise larger structural and narrative patterns.

We were also motivated by the use of network analysis and visualisation for Shakespearean scholarship, including work by Grandjean, Moretti, and Stiller, et al. These analyses are similarly character-based and have yielded many interesting insights. But in the reduction of the textual data to nodes and edges (characters and their interactions), network analysis has obscured the temporal. By preserving characters’ locations within the space of the text, this tool enables analysis of the dramatic time and structural duration of the play.

Moreover, a major part of the tool’s value is its extensibility. It may be used to create character visualisations for any play which is XML-encoded according to quite minimal specifications, and offer the opportunity to undertake comparative analysis of structural, narrative, and character-based patterns in different plays.

As a point of contrast, we have generated a second visualisation for The Winter’s Tale from the code initially developed for The Comedy of Errors.

Speakers

Development Process

Personæ developed from a fixed and static visualisation of The Comedy of Errors to a more interactive and exploratory tool. In the heuristic spirit of the tool itself, we present here its various iterations, the stages of its development, and the motivations for various changes to its design and functionality throughout the process.

First Version

A timeline-based visualisation of stage entrances, speakers, names mentioned, and stage exits

From the First to the Second Iteration

Personæ’s focus on character and temporal visualisation is present in the first iteration of the tool. Speeches and mentions are plotted along a timeline, with a tabular view switching between the five acts of the play. All speeches and mentions are colour-coded, resulting in some interesting patterns and densities at certain parts of the text, but lacking the facility for isolating chosen characters. In addition, the tabular view of the five acts lacked the desirable holistic view of the entire play.

Another difficulty for development at this point was posed by the lack of a consistent identifier for characters in the XML file. This provided a challenge to the task of matching, for example, a speech by Adriana and a mention of Adriana, and would require manual intervention to resolve.

Second Version - A Focus on the Twins

Highlighting when the twins speak

Expanding the Second Iteration

The second iteration of the tool adopted the circular layout of the tool to plot character involvement across the entire play. At this point, the tool was still static, and its focus on the two pairs of twins in The Comedy of Errors represented a desire to deploy visualisation for a particular exploratory purpose. The play operates on the basis of identity and confusion, as Antipholus and Dromio of Syracuse are mistaken for their Ephesian counterparts, and vice versa. Our aim was to plot the speeches of these four characters to see if the visualisation revealed any insights into how the identity question was introduced and managed at a structural level.

Indeed, the visualisation presents several clustered scenes of engagement between the pairs of twins through which various errors and misunderstandings are played out. The tell-tale single appearance of Dromio of Syracuse’s orange marker in Act 1, Scene 2 precisely represents the beginnings of the error and confusion: “What now? How chance thou art returned so soon?”

As useful as this view of the play proved, we felt at this point that a more dynamic and interactive interface was required to allow users to test hypotheses like our own, or to undertake more exploratory and experimental visualisations of the data. The character-selection menu and the scene-divisions in the outer ring were thus added in the final stage of development.

An additional development in the second iteration of the tool was the geographical mapping of locations mentioned in the play. The Comedy of Errors is known for including the only mention of America in Shakespeare’s plays, among several other placenames in its text. In some respects, this visualisation gives a false impression of The Comedy of Errors as a worldly play. While eighteen locations are mentioned in the text, several of these are ironically located by Dromio of Syracuse on Nell the kitchen-maid’s body, because “she is sphericall, like a globe: I could find out / Countries in her” (Act 3, Scene 2).

Second Version - The Geography of the Play

Visualising the geographic locations mentioned in the text

Conclusion

The trajectory of Personæ’s development from fixity to interactivity represents a conclusion that we drew in the course of this project: that a visualisation tool developed for a particular purpose need not be confined to its use for that purpose. The modular and open-source principles of software development have contributed to a rich and fruitful habit of sharing within the field of Digital Humanities, and we hope that others will build upon the tool that we have developed here.

The code used to create this project is available to download and contribute to at https://github.com/dh-nuigalway/personae

Indeed, we have plans for further developments and improvements to Personæ, and one or two comments about the NVS’s encoding. The focus on variation emphasised in the edition’s title has resulted in rich and deep encoding of this feature across the publication history of Shakespeare, and the scope for using this data is extensive. The scope of NVS’s focus naturally precludes extensive encoding of different features of the text, but in the interests of contributing to the enrichment of the resource, we humbly submit two suggestions which would have expedited our development of this tool: unique identifiers shared by <speaker> and <name> elements, and the use of <placeName> to distinguish persons from places.