Skip to content

Charts Maps and Data

github-actions[bot] edited this page Dec 1, 2026 · 3 revisions

Figures you make in Anabasis, and the data behind them. Everything here works offline: the maps, the place names and the chart drawing are all inside the app, and nothing is fetched to draw a figure.

Every figure you make (a chart, a map, a timeline or a relationship map) goes into the document as a numbered figure with a caption and a source line. It keeps the settings that made it, so you can click it later and choose Edit to change it, rather than starting again.

Charts from data

Insert → Chart from data takes a table: paste one from a spreadsheet, type one, or use a table already in the document. The first column is the labels; the others are values. Choose the kind of chart and Anabasis checks the data fits it, saying what it found or what’s missing under the preview.

The kinds:

  • Bar, horizontal bar, stacked bar, line, area, several lines, and dot charts, for the usual comparisons and trends.
  • Scatter or bubble: label, x, y, and an optional size column and group column.
  • Histogram: one column of values; choose the number of bins.
  • Heatmap: a grid of values.
  • Slope: labels and two columns of values, for who rose and who fell between two dates. Rises and falls are drawn in two colors, the labels at each end are kept apart even when values tie, and the check under the chart says how many of each.
  • Shaded map: place names and a value. Countries (the world or a region), US states by name or postal code, and the regions of about 25 countries. Names that don’t match are listed so you can fix them. When values cross zero, the colors run from red through gray to blue.

A slope chart: seven countries’ values in 2014 and 2024, rises in blue and one fall in orange

Maps

Insert → Map opens the map maker. Pick a region from Jump to a region or move and zoom by hand, then use the tools along the top:

  • Shade countries in a key’s color.
  • Marker: click to place one, or search about 7,300 places (and save your own). Each has a symbol, a label and a key.
  • Route: click along a line for a route, an advance or an arrow.
  • Area: click around a region to hatch or tint it.
  • Text: click where the words go, then type them: a region’s name, a sea, or a note of up to three lines. Choose its style in the panel: a region in spaced capitals, a sea in italics, or a plain note.
  • Move: drag the map, select anything to edit it in the panel, and drag a marker’s label to where it reads best. A label taken a long way from its marker gets a thin leader line back to it. Choosing a side for the label in the panel puts it back beside its marker.

Below the map: country names, a grid of latitude and longitude, provinces and rivers, a scale bar, a small locator map, and a north arrow. The key you label becomes the legend.

Borders come from Natural Earth, with Crimea shown as part of Ukraine; other disputed lines follow Natural Earth’s de facto view.

A map of the Black Sea with free text for the sea and a region, a note, a dragged marker label with its leader line, and a north arrow

Timelines

Give notes an event date (when it happened, not when you wrote the note) and they line up on the board’s Timeline view, with gaps in the record marked. Insert → Timeline turns them into a figure; if no notes have dates yet, it starts with an empty event for you to fill in.

Dates can be years, “Aug 1680”, full dates, ranges like “1680–1692”, or before the common era: “401 BCE”, “431–404 BCE” (BCE at both ends), “50 BCE – 20 CE”, “44 BC to 14 AD”.

In the timeline figure:

  • Tick or untick events to show or hide them, edit their dates and wording, and Add event for one that isn’t a note. × removes an event from the figure (the note itself stays).
  • Give events a group (a front, a person, a theme) and each group gets its own color and a key. Events with no group are gray when others have one.
  • Add eras: shaded spans behind the events with their names at the top, for a war, a reign or a term in office. Names that would run into each other drop to a second row.

A timeline from 431 to 399 BCE with the Peloponnesian War and the Anabasis as eras, and events in three colored groups

Relationship maps

Relationships (Docs tab) maps the people, organizations and places in your Names list by how often they appear together, with the passages one click away. Shift-click two names to add a labeled link of your own. Insert as figure puts the map in the document.

Data and dashboards

Data, on the research desk, keeps datasets: a CSV or TSV file, a table pasted from a spreadsheet, or a table from your document. Give each its source and a note; columns are recognized as numbers, dates, text, latitude or longitude. Any dataset downloads as CSV.

From this project

Under From this project in the Data list are datasets Anabasis builds from your own work, as it is now, and keeps up to date by itself:

  • words by chapter, and citations by chapter
  • words written each day, for the last 90 days
  • sources by type, and by the year they were published
  • notes by kind

They can’t be edited (they’d only be rebuilt), but any dashboard tile or chart can use them, and Insert as table puts one in the document. Dashboard of this project lays out a ready-made dashboard from them, which you can change like any other.

A dashboard of a project: words so far, words in the last 90 days, sources and notes, with words by chapter and words written each day

Dashboards

A dashboard lays out tiles from your datasets:

  • a headline number: total, average, latest and so on, with the change from the previous value and a small trend line
  • any chart
  • a map of places from latitude and longitude
  • a timeline from a column of dates
  • a table readers can filter and sort
  • text, an image, or a video link

Choose each tile’s width and height, drag tiles to reorder them, and use Preview to see the dashboard without the controls. Every tile credits its dataset’s source (or its own). Export page… writes the dashboard as one web page, with the sources and the data as CSV downloads, ready to publish anywhere that hosts a web page. Video plays only in the exported page; inside Anabasis it’s shown as a link, because Anabasis doesn’t load outside content by itself.

Data in the writing

Put the caret where it should go, then use Insert on a dashboard tile. A number tile drops its value into the sentence (“4.1% of GDP”), and Cite the source adds the dataset’s citation right after it. A table tile goes in as a real table with a source line. A chart, map or timeline tile goes in as a figure.

These remember their dataset and are marked Linked to data on screen. When the data changes, Update from data (command search, the Data view, or a linked table’s toolbar) updates every document, open or not. Source lines follow the dataset’s source, but a caption you rewrote is left alone.

Safety

A project file can come from anywhere, so the settings stored with a figure are checked when you open it to edit: names and ids may not hold characters that could break out of the page’s markup, numbers must be numbers, styles and symbols must be ones Anabasis knows, and lists and text are capped in length. Anything that fails is dropped or put back to its default. Text on maps, labels, groups and era names are always shown as text, never as markup.

Related pages

Clone this wiki locally