-
Notifications
You must be signed in to change notification settings - Fork 31
Tooltip / legend for state contribution map #331
Comments
Yep, there should definitely be a legend that shows the the ranges for each On Tue, Jul 14, 2015 at 12:15 PM, Joshua Carp notifications@github.com
Noah Manger |
So that's actually a third option. I was thinking of a sidebar, so that you'd click "MI", and then see a detail view on a separate panel to the right of the map. Tooltips are fine, but it can be annoying to include things like links in them, since it's easy for the state to lose focus and the tooltip. |
Oh! I misunderstood. You're right, I think best not to rely on the toolips. On Tue, Jul 14, 2015 at 12:54 PM, Joshua Carp notifications@github.com
Noah Manger |
But I do think that the map should have a legend that explains what the On Tue, Jul 14, 2015 at 1:11 PM, Noah Manger - XFB noah.manger@gsa.gov
Noah Manger |
Not sure about togging between a map and a table. If I'm looking at the map and decide that I'm interested in details about Kansas, I have to understand that the information I'm looking for lives behind the toggle, click the toggle, and page or scroll down the table until I find Kansas. I think I'd rather just click on the state that I want to know more about. |
True. Yeah, I guess I'm thinking there's a need for both a table view as well as a map view, presenting (ideally) the same information on both. Whether those live along side each other or with some sort of toggle, I don't know. There's a very similar need on the election page, so @jenniferthibault we should try to put our heads together on this today (if you've got time). |
@jmcarp Here's a quick screen shot of what this could be in "open" state , adapted from what I've been working on for the Elections page. Since the data is broken down into zip codes, I think a more traditional chloropleth is a better representation than the hexagons. This double-panel view is becoming a pattern for detailed views of table elements. |
|
I can speak to some of these: So we were talking on the election page about wanting to show zip-code totals, but only on the map. The idea is that for smaller races, where more funding is drawn from fewer states, where from within that state the money comes matters. This is definitely something that's better shown with a map rather than a table of zip codes. After talking with Jen and others, I think that it makes sense to actually show the zip code totals on the committee page as well. Sorry that this goes contra the original hex map. And so in this case, clicking on a state pulls up a zip code choropleth, so yeah, it would actually be showing granular data that this example doesn't (that was on old mock of mine). And yes, there would also be a full country-level view. The advantage of showing it as a table is that you can easily see which states were the source of the most money, a comparison that isn't possible with a map alone that shows ranges. And yep, it definitely makes sense to have this side panel be the same as it is for other data tables. |
I feel like zip code and state should be the same map By default it should be by state, and then, when you zoom in, it would show break down by zip code. |
+1. That's what I was trying to say, but put much better :) |
Thanks for clarifying. Maps by zip code are more challenging than state-level maps, since we're working with much more data (45k data points vs 53). I'll do some evaluation and figure out what's feasible. |
To be clear, without selecting a state it simply shows the full country map. If we are at this scale, I think it woudl be ok to just show state totals. And then selecting a state shows zip totals just for that state. Does that simplify things? |
Sorry for lack of clarity! I'm working on some additional screens that should help us all clear some more things up, but.... that doesn't quite make sense to me though, because:
|
I for the zipcodes, I am thinking we would only show one state at a time, or limit the amount of zipcodes shown at any one time. I I have seen a demo with fusion tables. I hope there are some good open source tools but maybe I am thinking of things that mapbox or other experts make. Should we see if there are people at 18F with mapping experience? |
No longer relevant to current style of maps |
I added a very basic tooltip to the state contribution map. It shows total contributions for the state on hover (sorry, the mouse didn't show up in the screenshot):
I think we could either make the tooltip nicer, or use a legend or sidebar instead, so that clicking or hovering on a state brings up detailed information (state name, total contributions, link to data table) on the right.
Preferences @noahmanger @jenniferthibault?
The text was updated successfully, but these errors were encountered: