NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • dataSource.json The dataSource.json file specifies information about the data repository. Refer to the dataSource.json documentation for a detailed description.
  • dataDescription.json The dataDescription.json file specifies information regarding each attribute in the data. An attribute could be visual , filtering or key. Refer to the dataDescription.json documentation.
  • interactiveFilters.json Specifies information for interactive filters that appear on the left side of the dashboard. Refer to interactiveFilters.json documentation.
  • visualization.json Specify the type of visualization that shall appear on the main display panel. Refer to visualization.json documentation.

DataSource.json

For a complete overview, refer to the Schema Reference

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
[Schema Deprecated] Describes the data sources. Users need to plugin information about their data repositories. The system would use the information to access the data and use it for creating the dashboards. Consider the following example in which we're fetching data from 2 sources s1 and s2 .

...

For a complete overview, refer to the Schema Reference Used to define the interactive filters panel that is displayed on the left of the dashboard. This file describes how the dashboard should look like.

Code Block
[
{
"attributeName" : "A" ,
"visualization" : {
"visType" : "rowChart"
}
},
{
"attributeName" : "B" ,
"visualization" : {
"visType" : "pieChart"
}
},
{
"attributeName" : "C" ,
"visualization" : {
"visType" : "pieChart"
}
},
{
"attributeName" : "D" ,
"visualization" : {
"visType" : "pieChart"
}
}
]

...

Info

Notes on visTypes

  • The datatype of the attribute must be enum (in the dataDescription.json ) for rowChart and pieChart
  • barChart must have float or integer as their dataType.

...

Visualization.json

Accepts an array of objects, each object describing the visualization. Example:

...