| title
      updateTitle()
      pushState()
    })

  d3.select('#reset')
    .on('click', event => {
      database = preset.database
      selected = new Set(preset.selected)
      title = preset.title
      expand = preset.expand
      chronology = preset.chronology
      updateTitle()
      updateExpand()
      updateChronology()
      pushState()
      reloadDatabase().then(restartSimulation)
    })
  d3.select('#expand')
    .on('change', event => {
      expand = parseInt(event.srcElement.value)
  