Skip to content

m-damien/Charagraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Charagraph PDF Viewer

This repository contains the source code of a modified PDF Viewer that allows the creation of Charagraphs. Charagraphs are visualizations created from in-text numbers (see the accompanying paper).

Publication

Damien Masson, Sylvain Malacria, Gรฉry Casiez, and Daniel Vogel. 2023. Charagraph: Interactive Generation of Charts for Realtime Annotation of Data-Rich Paragraphs. In Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems (CHI '23). Association for Computing Machinery, New York, NY, USA, Article 146, 1โ€“18. DOI

How to build & run

The tool was created using TypeScript and React. To run it, you can npm. In the project directory, first install all dependencies:

npm install .

Then run the project:

npm start

Once the server is running, you can access the PDF viewer by browsing to http://localhost:3000/Charagraph (replacing 3000 by the port React is using).

How to use

After selecting a paragraph that contains numbers, a popup will let you select different "group of values". Once one is selected, a charagraph is created. Charagraphs will appear in the margin, so make sure your web browser is in fullscreen/you are zoomed out enough to see the margins. Note that the tool was tested and developped for recent versions of Google Chrome or Mozilla Firefox.

By default, it should load a PDF with pages extracted from various documents. Feel free to try the tool on different PDFs (CTRL/CMD+O)