Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Heterogeneity Bands

Public visualization

Viewing a saved revision (read-only)

bfae7d8726394494995990ecbe4591f8

Heterogeneity Bands

0 stars2🌍 Public
NNita
Last edited Nov 16, 2020
Created on Nov 16, 2020

This visualization displays heterogeneity bands as overlapping red rectangles across a horizontal log-odds scale, with gray reference lines positioned per study ID. The code fetches JSON metadata from a GitHub gist and uses d3.json, d3.scaleLinear, and d3.scaleBand to map study identifiers to the vertical axis and odds-ratio confidence intervals to the horizontal axis. Each rectangle spans from OR_lo to OR_hi with a constant height and 0.5 opacity, producing overlapping bands. The SVG rendering uses d3.select to append the chart elements, with the x-scale driven by the minimum and maximum odds-ratio values across the dataset.

AI-generated description