What we're after:
In an effort to increase the use of data visualizations on our website and improve navigation to our contribution charts on election profile pages, we would like to use these same maps on the raising: by the numbers page and allow our users to see contributions going to candidates.
It still needs to be determined what our MVP state will look like and whether that includes single candidate views, or a candidate comparison. Some questions that we still need to answer:
_Create implementation issue._
Below is a first draft of the where contributions come from chart. I've made some assumptions about what we want to show and think this is a good starting point for a conversation and to make sure we're all on the same page about the MVP we hope to achieve this PI.
cc: @AmyKort @PaulClark2 @patphongs @lbeaufort @dorothyyeager

This looks great @JonellaCulmer . For our first iteration, are we looking at just providing presidential information? Or would users be able to choose House or Senate candidates via the same chart, like on the Who's raising/spending the most chart?
This is a good start @JonellaCulmer. Leaving some comments here and adding on to what @AmyKort noticed too.
running in for election year, it appears they need to be active?Based on our conversation from today @patphongs has documented all of the APIs where data needs to come from for this chart to work properly.

Additionally, some design action items have come out from the discussion:
Below are some updated mock-ups that incorporate the above completion criteria:
While I still need a content review on the language used for the errors, this is how it could look with them in place. Would also appreciate feedback on the information provided for the candidate (ex. Trump, Donald J., Candidate for President, ID: XXXXXXXX)




cc: @AmyKort @jwchumley @PaulClark2 @lbeaufort @dorothyyeager @patphongs
For the "error state with no data" message, just a small tweak to suggest...
"There is no YYYY financial data for this candidate. Try searching a different election year." (Or election cycle, whatever matches data better.)
For the "Error state for missing candidate" - The message is fine, but there's a typo - should be "candidate ID"
Looks great! Do we need to lower-case "President" in "Candidate for President"--in the success state?
@JonellaCulmer Thanks for the new mock ups. I have a question about the error state for missing candidate. Aren't we going to force a candidate pick from the dropdown? So there would never be an instance where they can just type a random name or committee ID to submit. Otherwise, I'm not sure how we would present them with multiple candidate options. See implementation on this IE page under Candidates mentioned expando, CANDIDATE NAME OR ID field. This one also forces to pick a valid candidate. https://www.fec.gov/data/independent-expenditures/?data_type=processed&is_notice=true
@patphongs Happy to talk through that today, but I'd argue that the interaction isn't great because it doesn't tell the user what happened or why their search didn't go through. Certainly could be the MVP implementation though and test from there to see how users interpret that interaction.
Happy to talk through that today, but I'd argue that the interaction isn't great because it doesn't tell the user what happened or why their search didn't go through. Certainly could be the MVP implementation though and test from there to see how users interpret that interaction.
Thanks @JonellaCulmer! Just backfilling our convo here. So we'll have the candidate error pop up whenever someone submits something that is not a valid candidate name or candidate ID in the list.
Closing in favor of implementation ticket: https://github.com/fecgov/fec-cms/issues/2929
Most helpful comment
For the "error state with no data" message, just a small tweak to suggest...
"There is no YYYY financial data for this candidate. Try searching a different election year." (Or election cycle, whatever matches data better.)
For the "Error state for missing candidate" - The message is fine, but there's a typo - should be "candidate ID"