Skip to content

2.2.2 chordD3Helper

Colin Khoury edited this page Jun 3, 2016 · 7 revisions

It has the following components:

  • description.js: This file manages the display of brief information about the circos diagram. It shows the title, brief and description. The description requires three divs to show the information. The data are included in data file in the root section called description (It is an array). Inside of that section every position has a particular function.

    • 0: It is the title of the circos diagram
    • 1: It is the brief of the circos diagram
    • 2: It is an explanation of the circos diagram
    • 3: It is the title of the flow origin inside of the chords
    • 4: It is the title of the flow destination inside of the chords
  • map.js: This file manages the behavior of the maps when is showed (when hovering on regions (outside of circle)). It requires datamaps library. It uses the iso's code located in name_description into the data file

  • popup.js: It is secondary window, which displays all relevant information over chords and regions of the circos diagram. The information to display depends if the mouse is over a chord or a region. The content information is managed by charts.js.

Logo

Clone this wiki locally