created by Taylor Faires, Alicia Peaker, and Miranda Jones-Davidis
updated September 29, 2020 by Ana Lam
This work is licensed under a Creative Commons Attribution 4.0 International License.
Scalar is a digital publishing platform that allows creators to juxtapose media and text and create multi-linear pathways through their books or projects. Scalar has robust features out-of-the-box, but it also provides advanced features to creators who want to take their projects to the next level. We'll explore a few of those features in this tutorial.
This tutorial assumes that you have already created a Scalar book that includes content, tags, and paths. If your Scalar book does not have these features, please add them before proceeding. You may want to refer back to the Introduction to Scalar I module or review Scalar's Quickstart Guides.
- Dipping your toes in CSS, Javascript, and web design customizations
- Simultaneous editing of the same Scalar book
- Version control of your custom code (use Git or GitHub for this).
- An account at scalar.usc.edu or your own Scalar install.
- Internet access
- Reliable web browser (preferably Chrome or Firefox)
Each time a page is saved, Scalar creates a new version of that page. Scalar makes a history of versions, available to all authors, along with metadata about each version and the ability to revert to any version. In Scalar:
- Versions are accessible to authors.
- You can see when a version was published and who published it.
- You can revert to earlier versions of a page.
So go wild! Experiment! You can always reset later!
Metadata is data about data or, to put it differently, information about an object. Scalar uses metadata to generate interactive visualizations, which we will be creating later. To prepare to use those tools, we’ll need to add some metadata to our objects.
- In Scalar, navigate to a media object’s page (the index can be helpful here).
- In the tabs below the media, click on the “Details” tab to show the current metadata associated with this object. Notice the fields that begin with “dcterms:”—these refer to the Dublin Core metadata schema.
- To add more metadata, select the edit icon (pencil) at the top of the page.
- Select the “Metadata” tab. Then select “Add additional metadata.”
- Check the boxes next to “dcterms:spatial” and “dcterms:date.”
- Add latitude and longitude coordinates to the dcterms:spatial field in the format decimal latitude, decimal longitude. (e.g. Barnard College's would be: 40.8090, -73.9638).
- Add date in the dcterms:date field in the format month, day, year, hour, minute, second (e.g. 05-27-2020 08:15:45). If you don't have hour, minute, second data, just enter the date.
Because of Scalar’s flat ontology (see the Scalar I Tutorial for a refresher), you can add metadata to nearly any Scalar object—not just media files, but also pages, paths, annotations, etc.
Now that you've added some rich metadata to your media objects, we'll take some time exploring visualization tools that are built-in to Scalar, beginning with widgets. Widgets are mini-tools that usually have a single function. In Scalar, widgets allow you to embed visualizations or other handy features like a media carousel within a page.
Similar to inserting media, you can insert a widget either inline or as a link. Let's add an inline widget.
- Navigate to your page editor (pencil icon).
- Click the puzzle piece with the lines around it. You will encounter a pop-up asking you to select a widget.
- Click on either Card or Summary and select the pages you would like to add. Then click "continue."
- Follow Scalar's prompts to order and style your selections.
- Once you've finished, save and view to see what you've done!
By default, Card and Summary widgets primarily display text. To make your widgets more engaging, you can add a thumbnail.
- Click edit on a page you are using within a widget (NOT the page where the widget is embedded).
- Near the bottom of the page, select the "Styling" drop-down and then "Thumbnail."
- Select the image you would like to serve as a thumbnail for this page.
- Save and view the page.
- Finally, return to the page where your widget is embedded. You should now see a thumbnail in your widget.
The Carousel widget functions like a gallery for a reader to flip through images or links. The process for adding the Carousel Widget is similar to the Summary or Card widget. The Carousel works best with images so instead of selecting pages when prompted, select media. Try it now, adapting the instructions in the "Card and Summary Widget" section as needed.
Another way to display information visually with Scalar is to use its Map widget or Map layout. In this section, you'll add a map widget to a page. The Map widget will use the spatial metadata you created earlier in the module.
- Once you've added spatial metadata to all the content you want to include in your map, create a new page (or edit an existing page).
- To add a Map widget, click on either the linked or inline widget button in the page editor and then choose “Map” from the widget options.
- Next, use the content selector to choose an item or selection of items to be plotted on the map. You can choose items individually, or you can choose already-created paths and tags and then tick the box under "Include Children" in the content selector to include all the items in the path or tag.
- You can then change formatting options for the map. You can include descriptive text below the widget by choosing "Custom text" under "Caption" and entering text there.
- Once you have inserted the widget, save the page, and explore you new map!
It can be difficult to hold all of the relationships you've created in Scalar in your mind. Scalar provides some handy visualization tools that abstract those relationships and allow you to explore your content in new ways.
Let's start by visualizing tags through a force-directed graph (also known as a network graph).
- Create a new page or edit a page where you'd like to embed a visualization.
- To add a Visualization widget, click on either the linked or inline widget button in the page editor and then choose “Visualization” from the widget options.
- Select the first drop-down menu and choose "All tags."
- In the second drop-down menu, choose "All relationships."
- In the final drop-down menu, choose "force-directed."
- Then select "Continue."
- You may update the next screen of options as you'd like or leave them as they are.
- Once you have inserted the widget, select "Save and View" at the bottom of the page.
- Explore and interact with the visualization (a full screen view might help). Notice the different colors and the legend that explains what they are.
Different kinds of visualizations are useful for different kinds of information and relationships. To visualize your paths, which are more linear than tags, follow the above steps except when inserting the widget select:
- "All paths" in the first drop-down menu.
- "All relationships" in the second drop-down menu.
- And "Tree" for the final drop-down menu.
Take a few moments to continue exploring visualizations!
We used the layout tab of the page editor in the Scalar I tutorial to make a cover for your book, but there are other layouts available. For the purposes of this guided practice, here are a few that we've found most useful.
One way to display media and metadata visually on Scalar is to use its Timeline layout or Timeline widget. In this section, you'll use the Timeline layout.
- The Timeline layout will use the metadata you created earlier in the module to display objects chronologically.
- The Timeline layout will also display the object's description and associated thumbnail. While on an object's page editor (pencil icon):
- To add a description: enter your text into the description field in the page editor.
- To add a thumbnail: click on "Styling" and choose "Thumbnail" from the dropdown menu, then select an image from your media library or from an external url and click "save."
- Once you've added temporal metadata to all the content you want to include in your timeline, create a new page (or edit an existing page).
- Select the "Relationships" tab and select either "tag" or "path." We'll use "tag" as our example, but they work the same.
- Next click "To make this page a tag, choose the items that it tags" and select the items you have added temporal metadata to.
- Under the "Layout" tab, set the current page to the Timeline layout via the drop-down menu.
If you're working with a particularly media-heavy page and want to showcase that media, try the Media Gallery layout, which puts all media embedded on a page into a carousel at the top of the page. This layout gives you less flexibility than the Carousel widget (which lets you select which media to include and where to place the carousel).
The Visual Path (originally developed by our own Alicia Peaker) creates a scrolling, visual version of each page along a path. In the example below, from Taylor's project, the introduction of the book is followed by three sections meant to stand in for a literature review. The "continue" button allows for readers to choose where in the path they want to go next.
- To use the Visual Path, first make sure your page is a path or create a new page.
- Edit the page.
- Under the "Layout" tab, set the current page to the Visual path layout via the drop-down menu.
- The images on the visual path are the key images for each individual page, so if you want images to show up, you need to add those to each page.
- To add key images, edit each page on your path. Under the "Styling" tab, select "key image," and then select an image.
So far, we've been working primarily with arranging and displaying the contents of your Scalar book. We're going to take a step back and add some design and other elements that will apply to the entire book.
- Go to your dashboard (wrench icon)
- Select the "Book Properties" tab.
- Add a table of contents for your book.
- Add a background to your book
- Add a thumbnail to represent your book in Scalar's indexes (also useful for when you are managing multiple books)
- Save!
- View your changes by selecting "back to book" in the upper right-hand corner of the page. NOTE: The table of contents is visible when you hover over the hamburger icon (three lines on top of each other) at the top left of the page.
For instruction on how to create a dynamic book cover, see the Scalar I tutorial.
You can make your Scalar book a duplicable template. This might be useful if you teach a course regularly and want each course to have its own Scalar book but with some shared features. Or perhaps you want to set a structure and have your students duplicate your book and then elaborate on your template.
To make your book duplicable:
- Go to your dashboard (wrench icon) if you aren't already there.
- Select the "Sharing" tab.
- In the "Duplicability" section, select "Yes" in the drop-down.
Scalar's guide for other features you may want to style with CSS.
- Throughout this module, you explored several methods of visualizing the contents of your Scalar book. How did the visualization tools force you to think differently about the relationships among your content?
- What limitations and affordances did you encounter or do you imagine in using Scalar for a particular purpose (making an argument, telling a story, or any other purpose you have)? How did you confront the space between your desires for the book and what the tools allowed?
- Barnard faculty, staff, and students are free to reach out to the DHC for additional help!