Skip to main content
100%

Gist 1a3712f2ec553e7cae13

✓ Published0🌍 Public
BBenHeubl
Last edited May 1, 2015
Created on May 1, 2015

This visualization shows the odds ratios of various health outcomes (such as diabetes, dementia, and all-cause death) for men with different numbers of unhealthy lifestyle factors, from none to four or five. It uses a parallel coordinates chart with a line for each group, colored and stroked according to the number of risk factors. The code employs the D3.js v3 library, specifically `d3.svg.line`, `d3.svg.axis`, and brushing via `d3.svg.brush`. Data comes from the CSV file `datafinal2.csv`, and the rendering includes an interactive drag-and-drop axis and a legend.

AI-generated description

Similar vizzes