|
1 |
| -# data-navigator |
| 1 | +# Data-Navigator |
2 | 2 |
|
3 |
| -A JavaScript library that allows for serial navigation of data structures using keyboard and touch inputs. |
| 3 | + |
4 | 4 |
|
5 |
| -Simply open index.html or visit [our landing page](http://dig.cmu.edu/data-navigator/) to try our demo. You will need to run a local server in order to open vega-lite.html locally, but you can just [visit the vega-lite demo online](https://dig.cmu.edu/data-navigator/vega-lite.html). |
| 5 | +Data Navigator is a JavaScript library that allows for navigation of data structures. Data Navigator makes png, svg, canvas, and even webgl graphics accessible to a wide array of assistive technologies and input modalities. |
| 6 | + |
| 7 | +Data Navigator has abstracted navigation into commands, which enables it to easily receive input from screen readers and keyboards to more interesting modalities like touch and mouse swiping, spoken commands, hand gestures, and even fabricated or totally novel interfaces, like bananas. |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +Data Navigator is expressive for builders and enables entire toolkits or ecosystems to become more accessible. The system provides low-level control over narratives, interaction paths, and journeys a user might want to take through an image or graphic. |
| 12 | + |
| 13 | +Developers can build schemas that scale to work with any chart in a charting library or a single, bespoke implemetation for use in story-telling contexts like journalism, reports, presentations, and interactive infographics. |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | +Not only are paths through an image customizeable but so are the visual indications that are rendered alongside those journeys. These visual indications use semantically rich, native HTML elements for maximized accessibility. |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +Visit [our landing page](http://dig.cmu.edu/data-navigator/) to try our demo, which shows a png image made into navigable experience. A variety of input modalities are enabled, including touch and mouse swiping, keyboard, screen reader, text input, voice control, and hand gesture recognition. |
| 22 | + |
| 23 | +We also have [a vega-lite demo online](https://dig.cmu.edu/data-navigator/vega-lite.html), which (under the hood) shows how someone could write one schema that serves any chart in an ecosystem. |
| 24 | + |
| 25 | +## Approach |
| 26 | +Data Navigator is organized into 3 separately composable modules: the first is a graph-based *structure* of nodes and edges, the second handles *input* and navigation logic, and the third *renders* the structure. These may be leveraged together or independently. Read our paper to learn more! |
| 27 | + |
| 28 | +## Getting started |
| 29 | +You can install or use both esm and cjs modules in a variety of ways, in addition to importing all of data-navigator or just one part. |
| 30 | +``` |
| 31 | +# to install into a project |
| 32 | +npm install data-navigator |
| 33 | +``` |
| 34 | +```js |
| 35 | +// to use it in a .js or .ts file |
| 36 | +import { default as dataNavigator } from 'data-navigator' |
| 37 | +console.log(dataNavigator) |
| 38 | +``` |
| 39 | +```html |
| 40 | +<!-- and even as a script tag module loaded from a cdn --> |
| 41 | +<script type="module"> |
| 42 | + import dataNavigator from "https://cdn.jsdelivr.net/npm/[email protected]/dist/index.mjs" |
| 43 | + console.log(dataNavigator) |
| 44 | +</script> |
| 45 | +``` |
| 46 | + |
| 47 | +## Credit |
| 48 | + |
| 49 | +Data-Navigator was developed at CMU's [Data Interaction Group](https://dig.cmu.edu/) (CMU DIG), primarily by [Frank Elavsky](https://frank.computer). |
| 50 | + |
| 51 | +## Citing Data-Navigator |
| 52 | + |
| 53 | +```bib |
| 54 | +@article{2023-data-navigator, |
| 55 | + year = {2023}, |
| 56 | + author = {Frank Elavsky and Lucas Nadolskis and Dominik Moritz}, |
| 57 | + title = {{Data Navigator:} An Accessibility-Centered Data Navigation Toolkit}, |
| 58 | + journal = {{IEEE} {VIS}} |
| 59 | +} |
| 60 | +``` |
0 commit comments