Skip to content

Candidate

Josh edited this page Sep 25, 2016 · 1 revision

Description

Displays information about a single candidate. Includes contribution information.

Navigation

Link Description
To How to Use Link in the header or top nav bar
To About Link in the header or top nav bar
To Discovery Link in the header or top nav bar

Contents

Candidate data:

  • Candidate name

Campaign data. For each campaign the candidate has conducted, display:

  • Office
  • Party affiliation
  • Year
  • Contribution histogram: displays the counts of contributions in defined bins of contribution amounts

Visualizations are rendered by NVD3.

Implementation Tasks

Create the Candidate page

Acceptance criteria:

  • Links to NVD3
  • Displays the candidate name as the header
  • Displays one panel for each campaign record which contains
    • Office
    • Year of campaign
    • Political party
    • Space for the contribution histogram

Create the contribution histogram

Acceptance criteria:

  • Displays an NVD3 histogram with the following axes:
    • x: Donation amount
    • y: Number of donations

Adjust the contribution histogram

Acceptance criteria:

  • Visualization is tested on all candidates
  • Looks pretty good

Clone this wiki locally