Skip to content

[ENH] dashboard: color the histograms and the institutions map by source of the datasets - #31

Merged
Remi-Gau merged 3 commits into
mainfrom
enh/plots-by-source
Nov 3, 2026
Merged

Remi-Gau merged 3 commits into
mainfrom
enh/plots-by-source

Conversation

@Remi-Gau

@Remi-Gau Remi-Gau commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Like docs/source/images/datatypes.png of cohort_creator: the bars are stacked by source of the datasets (openneuro, abide, corr, dandi...).

Figures by source

  • Histograms stacked by source, with the number of datasets of each source on hover:
    • datatypes in datasets
    • tasks distribution
    • number of datatypes per dataset
    • MRI field strength (with the number of participants on hover, as before)
    • types of physiological recordings
    • BIDS, fMRIPrep and MRIQC versions
  • Institutions map: the markers are colored by source (institutions_locations_by_source: one marker per institution and source of its datasets, sized by its number of datasets from this source).

Not changed: the duration of the runs (colored by datatype), the hours of data, the EEG / iEEG / MEG file formats and channels, and the Neurobagel section.

Colors

Each source has the same color in all the figures, whatever the filters (SOURCE_COLORS): the plotly default palette, completed with 2 colors of Dark24 for the 12 sources (11 sources and "other").

🤖 Generated with Claude Code

Remi-Gau and others added 3 commits October 20, 2026 10:22
…rce of the datasets

- histograms of datatypes, tasks, number of datatypes, MRI field strength, physio types,
  BIDS / fMRIPrep / MRIQC versions: stacked by source, with the total above each bar
- institutions map: markers colored by source (one per institution and source)
- each source has the same color in all the figures (SOURCE_COLORS)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Remi-Gau
Remi-Gau merged commit 2ce5346 into main Nov 3, 2026
7 checks passed
@Remi-Gau
Remi-Gau deleted the enh/plots-by-source branch November 3, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant